
134
List of BASIC Commands
Section 7-5
ON ERROR
GOTO LINE
NUMBER
ON ERROR GOTO <line
number>
or
ON ERROR GOTO <label>
Branches to interrupt
subroutine when error is
generated.
General
178
ON NUMERIC
EXPRESSION
GOSUB OR
GOTO
ON <numeric expression>
GOSUB <line number>
{,<line number> or <label>}
or
ON <numeric expression>
GOSUB <label> {,<line
number> or <label>}
or
ON <numeric expression>
GOTO <line number> {,<line
number> or <label>}
or
ON <numeric expression>
GOTO <label>{,<line
number> or <label>}
Branches to specified line
number based on value
of numeric expression.
General
179
ON KEY GOTO
OR GOSUB
ON KEY [key number]
GOTO <line number> or
<label>
or
ON KEY [key number]
GOSUB <line number> or
<label>
Branches to interrupt
subroutine on specific
key input.
General
180
ON PC GOSUB
ON PC [interrupt number]
GOSUB <line number >
or
ON PC [interrupt number]
GOSUB <label>
Branches to interrupt
subroutine when
interrupted from PC.
General
181
ON TIME$
ON TIME$= <time character
expression>
GOSUB <line number> or
<label>
Branches to interrupt
subroutine at a certain
time.
General
182
ON TIMER
ON TIMER <time
expression> GOSUB <line
number> or <label>
Branches to interrupt
subroutine after interval
time has expired, and
repeats this process.
General
183
OPEN
OPEN #<port number>;
“device symbol :[baud
rate[,data length[parity[stop
bit[,CS_ON or OFF[,RS_ON
or OFF[,DS_ON or
OFF[,XN_ON or OFF]]]]]]]]”
Opens a specified port
under specified
conditions (device type,
communications
conditions, control signal
operation)
Device
control
184
OPTION BASE
OPTION BASE 0 or OPTION
BASE 1
Designates the first
number of the array
variable subscript as 1 or
0.
General
186
OPTION
LENGTH
OPTION LENGTH <numeric
expression>
Sets the maximum length
(1 to 255) for character
string variable content.
General
187
PC EGET
PC EGET #<shared memory
address>, <read number of
words>,“format{,format}”;
variable{,variable}
Reads data from shared
memory of ASCII Unit
itself to the variables.
General
188
Command
Syntax
Details
Command
Statement
Function
Page
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...