advr.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
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SYSTEM [n%]
 
 Usage Notes
   ■ A program containing a SYSTEM statement exits to the operating system
     if run from the VBDOS command line with the /RUN option.
     See: VBDOS Command-Line Options
 
   ■ Entering a SYSTEM statement in the Immediate window terminates Visual
     Basic.
 
   ■ In a program compiled with the /O option, SYSTEM returns control to the
     operating system, returns the value of n% to the operating system, and
     closes all files. In Visual Basic, SYSTEM stops program execution and
     closes all files.