LLIST Command: To List All or Part of The Program Currently in Memory To The Line Printer
LLIST Command: To List All or Part of The Program Currently in Memory To The Line Printer
LLIST Command
Purpose:
To list all or part of the program currently in memory to the line printer.
Syntax:
LLIST [line number][-line number]
LLIST [line number-]
Comments:
GW-BASIC always returns to command level after a LLIST is executed. The line range options
for LLIST are the same as for LIST.
Examples:
See the examples in the LIST statement.
file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/LLIST.html28/03/2004 21.29.35
GW-BASIC User's Guide
LOAD Command
Purpose:
To load a file from diskette into memory.
Syntax:
LOAD filename[,r]
Comments:
filename is the filename used when the file was saved. If the extension was omitted, .BAS will
be used.
LOAD closes all open files and deletes all variables and program lines currently residing in
memory before it loads the designated program.
If the r option is used with LOAD, the program runs after it is loaded, and all open data files are
kept open.
LOAD with the r option lets you chain several programs (or segments of the same program).
Information can be passed between the programs using the disk data files.
Examples:
LOAD "STRTRK",R
Loads the file strtrk.bas and runs it, retaining all open files and variables from a previous
program intact.
file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/LOAD.html28/03/2004 21.29.36