0% found this document useful (0 votes)
16 views2 pages

LLIST Command: To List All or Part of The Program Currently in Memory To The Line Printer

The document provides information about the LLIST command in GW-BASIC. LLIST lists all or part of the program currently in memory to the line printer. It takes optional line number parameters to specify a range. Like the LIST command, LLIST always returns to the command level after running. Examples show it can be used like the LIST command to print ranges of lines from the program.

Uploaded by

Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

LLIST Command: To List All or Part of The Program Currently in Memory To The Line Printer

The document provides information about the LLIST command in GW-BASIC. LLIST lists all or part of the program currently in memory to the line printer. It takes optional line number parameters to specify a range. Like the LIST command, LLIST always returns to the command level after running. Examples show it can be used like the LIST command to print ranges of lines from the program.

Uploaded by

Raj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GW-BASIC User's Guide

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

You might also like