23.09.2025, 02:24 PM
(This post was last modified: 23.09.2025, 02:28 PM by Paul Squires.)
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.