28
Remarks:
Explain in detail how to use the instruction
Examples: Show sample code to demonstrate the use of the instruction
4-2-2 Commands
This section describes all of the BASIC commands for the ASCII Unit.
AUTO Command
Purpose:
To automatically generate line numbers for each line of the pro-
gram
Format:
AUTO [<line>][,[<increment>]]
<line> is a an integer from 0 to 63999.
<increment> is an integer value that specifies the increment of
the generated line numbers.
Examples: AUTO 100, 10
AUTO 500, 100
Remarks:
Auto begins numbering at <line> and increments each subsequent line number
by <increment>. The default value for both <line> and <increment> is 10.
The AUTO Command can be canceled by entering CTRL+C.
If an already existing line number is specified, an asterisk (*) is displayed imme-
diately after the line number. If a new line number is input followed by a CR key,
the new line number will be used instead. Pressing only the CR key leaves the
line number unchanged.
CONT Command
Purpose:
To resume execution of a program after a Ctrl+Break has been
typed, a STOP or END statement has been executed, or an error
has occurred
Format:
CONT
Remarks:
Execution resumes at the point where the break occurred. If CTRL+X is pressed
during data exchange with an external device, execution is aborted and the pro-
gram cannot be resumed.
If the program is modified after execution has been stopped, the program can
not be resumed.
CONT is usually used in conjunction with STOP for debugging.
DEL Command
Purpose:
To Delete the specified program lines
Format:
DEL [<first>] [-<last>] or DEL <first> -
<first> is the first line number deleted.
<last> is the last line number deleted.
Examples:
DEL 100
Deletes line 100
DEL 100-
Deletes all lines from line 100
DEL -150
Deletes all lines up to line 150
DEL 100-150
Deletes all lines between 100 and 150
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 ...