
WAIT <port number>, I[,J]
where I and
J
are integer expressions
SK, Extended, Disk
To suspend program
execution
while
monitoring
the status of a machine input port.
The
WAIT
statement
causes
execution
to
be
suspended
until
a specified machine input port
develops a specified bit pattern.
The data read
at
the port is exclusive ORIed with the integer
expression J, and then AND Ied with
I.
If
the
result
is
zero,
BASIC-SO loops back and reads
the data at the port again.
If
the
result
is
nonzero,
execution
continues
with
the
next
statement.
If
J
is omitted, it is assumed to be
zero.
It is possible to enter an
infinite
loop
with
the
WAIT
statement,
in
which case it will be
necessary to manually restart the machine.
Содержание Basic Interpreter Basic 80
Страница 1: ...5IA iC intc tit tcl c t ...
Страница 2: ......
Страница 6: ... ...
Страница 10: ......
Страница 26: ......
Страница 33: ...2 5 Intentially left blank ...
Страница 37: ...BASIC SO COMMANDS AND STATEMENTS 2 9 Intentially left blank ...
Страница 40: ...410 DEF FNAB X Y XA3 YA2 420 T FNAB I J Line 410 de ines the function function is called in line 420 ...
Страница 112: ......
Страница 136: ......
Страница 140: ......
Страница 160: ......
Страница 165: ......
Страница 166: ......
Страница 174: ......
Страница 176: ......
Страница 182: ......
Страница 184: ......
Страница 190: ......