------------------------ MS-DOS v6.22 Help: QBASIC -------------------------
<Notes>                                                            <Index>


Starts MS-DOS QBasic, a program that reads instructions written in the Basic
computer language and interprets them into executable computer code.

The QBasic program provides a complete environment for programming in the
Basic language. QBasic includes extensive online Help. For more information
about using QBasic, press ENTER immediately after starting QBasic or press
F1 any time while running QBasic.


    QBASIC [/B] [/EDITOR] [/G] [/H] [/MBF] [/NOHI]


    Specifies the location and name of the file to load when QBasic starts.


    Displays QBasic in black and white if you have a color monitor.

    Invokes MS-DOS Editor, a full-screen text editor.

    Provides the fastest update of a CGA monitor.

    Displays the maximum number of display lines possible on your screen.

    Converts the built-in functions MKS$, MKD$, CVS, and CVD to MKSMBF$,
    MKDMBF$, CVSMBF, and CVDMBF, respectively.

    Allows the use of a monitor that does not support high-intensity video.
    Do not use this switch with Compaq laptop computers.

    Runs the specified Basic program before displaying it. You must specify
    a filename.




Cannot use MS-DOS Editor if MS-DOS QBasic is not present

To use MS-DOS Editor, you must have the QBASIC.EXE file in the current
directory, or in the same directory as the EDIT.COM file in your search
path. If you delete QBASIC.EXE to save space on your hard disk, you cannot
use MS-DOS Editor.

Running consecutive Basic programs

You can run consecutive Basic programs from a batch file by using the Basic
SYSTEM statement and the QBASIC command with the /RUN switch. A SYSTEM
statement quits QBASIC and returns control to MS-DOS after a Basic program
has run, instead of returning to QBasic. This allows you to run more than
one Basic program from a batch file without having to intervene.

Display of shortcut keys

Some monitors may not support the display of shortcut keys by default. If
your monitor does not display shortcut keys, use the /B switch (for CGA
monitors) and the /NOHI switch (for systems that do not support bold


<Top of page>
Last update: December 07, 2002 14:45 by
Content © 1997 Microsoft Corporation
All else © 2000-2005