Contents  Index  
──────────────────────────────────────────────────────────────────────────────
Runs the current program or a specified program.

RUN [{linenumber | file$}]linenumber    The line number in the current program where execution
                    should begin. If no line number is specified, execution
                    begins at the first executable line.
    ■ file$         The name of a Basic source file. QBasic assumes
                    a .BAS extension.

    ■ RUN closes all files and clears program memory before loading a
      program. Use the CHAIN statement to run a program without closing
      open files.

Example:
    'Assumes the program TEST.BAS is in a \DOS directory.
    RUN "C:\DOS\TEST.BAS"

See Also    CHAIN
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert