29
Remarks:
A period may be used in place of the line number to indicate the current line.
EDIT Command
Purpose:
To Edit one line of the program
Format:
EDIT <line>
<line> is the line number to be edited.
Remarks:
The EDIT Command is used to display a specified line and to position the cursor
at the beginning of that line. The cursor can then be moved within the specified
line and characters can be inserted or deleted. Executing “EDIT .” will bring up
the previously entered program line. “.” refers to the last line referenced by an
EDIT statement, LIST statement, of error message.
LIST Command
Purpose:
To list the program currently in memory on the screen or other
specified device
Format:
LIST [<line>] [-[<line>]]
LLIST [<line>] [-[<line>]]
<line> is a valid line number from 0 to 63339.
Remarks:
LIST displays a program or a range of lines on the screen or other specified de-
vice.
If the line range is omitted, the entire program is listed. “LIST.” displays or prints
the line that was last input or was last displayed.
Output can be aborted by entering CTRL+B or CTRL+X. If CTRL+B is used, list-
ing can be resumed by entering CTRL+B again.
LIST/LLIST Commands can be written into the program, but the following state-
ment will not be executed and the ASCII Unit will enter command input wait sta-
tus.
The LIST Command automatically outputs to port 1 and the LLIST Command
automatically outputs to port 2.
The LLIST Command outputs data to the device “LPRT” independently of the
OPEN statement.
When the dash (-) is used in a line range, three options are available:
1, 2, 3...
1. If only the first number is given, that line and all higher numbered lines are
listed.
2. If only the second number is given, all lines from the beginning of the pro-
gram through the given line are listed.
3. If both numbers are given, the inclusive range is listed.
Examples:
LIST -500
List everything up to line 500
LIST 10-100
List all lines ranging from 10 through 100
LIST 200-
List everything from line 200 on
LOAD Command
Purpose:
To load a program from the EPROM into memory
Format:
LOAD
Remarks:
The contents of the program area specified with the MSET Command are
loaded from the EEPROM.
Commands, Statements, and Functions
Summary of Contents for C500-ASC04
Page 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Page 5: ...iv ...
Page 7: ...vi ...