Search found 49 matches
instr
I saw in a programming language a command that located for example the fifth occurrance of a delimiter in a string (not like instr or instrRev).Is there any command in freebasic to do that command?(string="1,2,3,4,5,6,7,8,9") Before 6 is the fifth occurrane of ","
- Jul 10, 2016 17:09
- Forum: Beginners
- Topic: Cannot find any IDE
- Replies: 25
- Views: 2516
Re: Cannot find any IDE
Is fbide0.4.7.rar newer then fbide0.4.6r4 ?
FBIDE=https://www.freebasic-portal.de/dateiarchiv/fbide0.4.7.rar
7 ?
FBIDE=https://www.freebasic-portal.de/dateiarchiv/fbide0.4.7.rar
7 ?
- Jun 17, 2016 0:23
- Forum: Beginners
- Topic: recursive function
- Replies: 21
- Views: 1630
recursive function
Why this function does not work to reverse the string in recursive mode? DIM SHARED AS String q,text,c Declare FUNCTION reverse (ByRef s As String) As String CLS text = "abcdefghijklmnopqrstuvwxyz0123456789" q = reverse(text) PRINT q sleep FUNCTION reverse (Byref s As String) As String C =...
- Jun 12, 2016 14:50
- Forum: Beginners
- Topic: prepend not append
- Replies: 14
- Views: 1256
Re: prepend not append
After appending a new line to a file Can I take the text file as a string and then reverse it and then write it into a new file forcing last line comes to first line?
Thank you dear counting_pine
Thank you dear counting_pine
- Jun 12, 2016 14:14
- Forum: Beginners
- Topic: prepend not append
- Replies: 14
- Views: 1256
prepend not append
Is there a way to open a file for prepend not append? I want to see new added lines first when I open a text file by an editor.(At the beginning of file not at the end of file.)
- Jun 08, 2016 14:22
- Forum: Beginners
- Topic: Running exe programs in another pc
- Replies: 3
- Views: 498
Re: Running exe programs in another pc
Thank you so much Mrswiss and caseih.
- Jun 07, 2016 13:49
- Forum: Beginners
- Topic: Running exe programs in another pc
- Replies: 3
- Views: 498
Running exe programs in another pc
I have 2 computers connected to each other by cable(network) when I want to run an exe program(5566.exe) in computer #2 from computer #1 by command shellexecute or run or exec command It runs in computer #1 not in computer #2.why? shellExecute(NULL, "open", "\\path in computer #2\5566...
- May 25, 2016 4:49
- Forum: Beginners
- Topic: schedualed task
- Replies: 11
- Views: 1021
Re: schedualed task
Dear dodicat - I checked your program but I notice when running It slow down the other programs. How scheduled task in windows got the exact moment (second) and does not slow down the other programs ?because sleep 10000 does not catch the exact second . thank you.
- May 16, 2016 14:09
- Forum: Beginners
- Topic: schedualed task
- Replies: 11
- Views: 1021
Re: schedualed task
Dear grindstone Thank you very much for your answer but because the second sleep is about 10 seconds so sometimes it does not catch Right(Time,5) = "00:00" because Right(Time,5) = "00:00" is only one moment (1 second)-after sleep 10000 is finished and the time is for example 18:0...
- May 15, 2016 21:09
- Forum: Beginners
- Topic: schedualed task
- Replies: 11
- Views: 1021
schedualed task
Hi - Is there a way to write a program that every hour does a task (for example takes a snapshot of desktop) compiled in gui mode and does not slow down another running programs or windows programs? "do.....loop for getting the exact hour slow down another running programs."
- Mar 04, 2016 7:08
- Forum: Beginners
- Topic: move mouse pointer on desktop
- Replies: 4
- Views: 674
Re: move mouse pointer on desktop
Thank you It works. Sorry And what is the code in windows API for clicking left button on mouse?
- Mar 04, 2016 4:05
- Forum: Beginners
- Topic: move mouse pointer on desktop
- Replies: 4
- Views: 674
Re: move mouse pointer on desktop
I have a fixed desktop in my office (nothing changes) where always 4 programs are minimized so I want to maximize one of them by using previously mentioned program.
- Mar 03, 2016 20:34
- Forum: Beginners
- Topic: move mouse pointer on desktop
- Replies: 4
- Views: 674
move mouse pointer on desktop
hi
Is there a way to write a small program and compile it in gui mode(not console mode) that can click an icon on desktop by moving mouse pointer on it and left click the icon automatically?
thank you.
Is there a way to write a small program and compile it in gui mode(not console mode) that can click an icon on desktop by moving mouse pointer on it and left click the icon automatically?
thank you.
Re: year 2038
thanks a lot
year 2038
hi , why I can not compile my programs when my pc's date is 2038 and up?
FreeBASIC-0.21.0-win32
os xp
windows console
FreeBASIC-0.21.0-win32
os xp
windows console