QB64.com

QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

_DONTWAIT is used with the SHELL statement in QB64 to specify that the program shouldn’t wait until the external command/program is finished (which it otherwise does by default).

Syntax

SHELL [_DONTWAIT] [commandLine$]

Description

*Runs the command/program specified in commandline$ and lets the calling program continue at the same time in its current screen format. *Especially useful when CMD /C or START is used in a SHELL command line to run another program.

Example(s)


SHELL _DONTWAIT "notepad " + filename$

FOR x = 1 TO 5
    _LIMIT 1
    PRINT x
NEXT

(opens up notepad at the same time as counting to 5)


 1
 2
 3
 4
 5

See Also