

This mode is useful for debugging and for using GW-BASIC as a calculator for quick computations that do not require a complete program. Results of arithmetic and logical operations can be displayed immediately and/or stored for later use, but the instructions themselves are lost after execution. In the direct mode, GW-BASIC statements and commands are executed as they are entered. At this point, GW-BASIC may be used in either of two modes: direct mode or indirect mode. Ok means GW-BASIC is at command level that is, it is ready to accept commands. Once GW-BASIC is initialized (loaded), it displays the Ok prompt. Chapter 4, "The GW-BASIC Screen Editor," contains detailed information on function keys.

These function keys can be used to eliminate key strokes and save you time. The function key ( F1–F10) assignments appear on the bottom line of the screen.

On the screen, the line XXXXX Bytes Free indicates how many bytes are available for use in memory while using GW-BASIC. Once you enter GW-BASIC, the GW-BASIC prompt, Ok, will replace the MS-DOS prompt, A>. Type the following command after the A> prompt, and press RETURN: gwbasic Insert your working copy of the MS-DOS diskette into Drive A of your computer, and press RETURN.To use the GW-BASIC language, you must load it into the memory of your computer from your working copy of the MS-DOS diskette. It also explains the two different types of operation modes, line formats, and the various elements of GW-BASIC. This chapter describes how to load GW-BASIC into your system.
