![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429060.webp)
50
Format: REM
<remark>
<remark> text does not need to be enclosed in quotes.
Example:
REM SAMPLE PROGRAM
Remarks:
The REM statement is used to provide titles to programs and to insert helpful
comments to be used during program debugging or modification.
Remarks may be added to the end of a line by preceding the remark with a
single quotation mark instead of: REM.
Do not use a REM statement in a DATA statement as it will be taken as legal
data.
RESTORE Statement
Purpose:
To allow DATA statements to be reread from a specified line
Format: RESTORE
[<line>]
<line> should be the line number of a valid DATA statement.
Example: RESTORE
1000
Remarks:
This statement causes the next READ statement to read the first element in
the first DATA statement that exists in the program. If <line> is specified, the
next READ statement accesses the first item in the specified DATA state-
ment.
RESUME Statement
Purpose:
To resume program execution after an error handling procedure
has been performed
Formats:
RESUME [0]: execution resumes at the statement which caused
the error.
RESUME NEXT: execution resumes at the statement immediate-
ly following the one which caused the error.
RESUME <line>: execution resumes at <line>.
Example:
RESUME 100
Remarks:
Any one of the above formats may be used.
STOP Statement
Purpose:
To terminate program execution and return to the BASIC com-
mand level
Format:
STOP
Remarks:
Execution of this statement causes the message “BREAK IN xxxx” to be dis-
played and the ASCII Unit to return to the command level.
The ports will not be closed.
Program execution can be resumed with the CONT command.
WAIT Statement
Purpose:
Sets a time limit for the execution of a specific statement
Format:
WAIT “<wait time>”[,<line number>]
BASIC Language
Section 4-2
Содержание SYSMAC C200H-ASC02
Страница 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Страница 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Страница 122: ...Appendix B Specifications 115 130 35 100 5 ...
Страница 167: ...Cat No W165 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...