31
Format: RUN
[<line>]
<line> is any line number less than 63999.
Remarks:
If a line number is specified, execution begins from that line. If the line num-
ber is omitted, execution starts from the first line of the program.
The RUN command clears all variables and closes all open files before ex-
ecuting the designated program.
Program execution can be aborted with CTRL+X, or the START/STOP
switch. Program execution can also be aborted from within the program by
an END or STOP statement.
SAVE Command
Purpose:
To write the program area to the EEPROM
Format: SAVE
Remarks:
The contents of the BASIC program area and the assembly language pro-
gram area reserved with the MSET command are written to the EEPROM.
If the START/STOP switch is pressed during execution of the SAVE com-
mand, the process will be aborted.
Purpose:
To write a program in the current program area to a storage de-
vice connected to one of the ports.
Format:
SAVE #<port>,“COMU:[(<valid signal line>)]”
<port> is one of the two ports (1,2).
<valid signal line>: refer to the OPEN statement tables.
Example: SAVE
#1,“COMU:(43)”
Remarks:
When this command is executed, the BASIC LED indicator on the ASCII Unit
will blink rapidly warning the user to prepare the peripheral device for data
transfer. When the device is set, press the START/STOP switch.
During execution of this command the START/STOP switch and key input
through port 1 are inhibited.
For further details on COMU refer to the OPEN command.
TRON and TROFF Commands
Purpose:
To trace execution of a program
Format: TRON
Remarks:
The TRON command is a debugging tool that enables the programmer to
follow the execution of a program line by line. Execution of the TRON com-
mand will cause the line numbers of subsequent program statements to be
displayed on the screen as they are executed.
The trace can be canceled with the TROFF command, the NEW command,
by turning off the power or with the RESET switch.
VERIFY Command
Purpose:
To verify the contents of the EEPROM by comparing them to the
contents of the program area
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 ...