26
A$ and B$ : represent string expressions
Remarks: Explain in detail how to use the instruction.
Examples: Show sample code to demonstrate the use of the instruction.
Notes:
Explain additional pertinent information.
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 num-
ber by <increment>. The default value for both <line> and <increment> is 10.
The AUTO Command can be canceled by entering CTRL+X.
If an already existing line number is specified, an asterisk (*) is displayed im-
mediately 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+X 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 program cannot be resumed.
If the program is modified after execution has been stopped, the program
cannot 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
BASIC Language
Section 4-2
Summary of Contents for SYSMAC C200H-ASC02
Page 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Page 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Page 122: ...Appendix B Specifications 115 130 35 100 5 ...
Page 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...