qb45advr.hlp (
Topic list)
SYSTEM Statement Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
SYSTEM Statement Details
Syntax
SYSTEM
When a SYSTEM command is executed, all files are closed, and BASIC exits
to the operating system (for stand-alone executable programs), or stops
program execution (if the program is run in the QuickBASIC environment).
Note: A program containing a SYSTEM statement exits to the operating
system if run from the QuickBASIC command line with the /RUN
option.
Entering a SYSTEM statement in the Immediate window terminates
QuickBASIC.
Differences from BASICA
END and SYSTEM are distinct in BASICA but act identically in QuickBASIC.