◄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.