qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.