WAITKEY$ not in FreeBASIC
#2
Code:
print "This is my console app"
print

' Use Sleep or While/Wend loop to pause and contiue displaying the console window

sleep

' - or -

while inkey$ = "": wend

Another alternative if you are using tiko and always running console programs (without the Sleep or Inkey methods), you can change the Environment setting to always run your program in a command window.

File / Preferences / Environment Options / Compiler Setup / "Run compiled programs using the command window"

Use either the Sleep/Inkey -or- Command Window Setting, but not both together.
Reply


Messages In This Thread
WAITKEY$ not in FreeBASIC - by Dale Yarker - 23.09.2025, 02:03 PM
RE: WAITKEY$ not in FreeBASIC - by Paul Squires - 23.09.2025, 02:24 PM
RE: WAITKEY$ not in FreeBASIC - by Dale Yarker - 23.09.2025, 03:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)