
133
List of BASIC Commands
Section 7-5
LINE INPUT
LINE INPUT[;] [#port
number,] [“prompt”;]
character variable
Reads one line of data
from the reception buffer
of a specified port into
the character variable.
General
167
LIST
LIST [line number 1] [–line
number 2]
Displays the program.
Command
168
LLIST
LLIST [line number 1] [–line
number 2]
Outputs the program to
the printer.
Command
169
LOAD
LOAD #<port number>
[communications conditions
character expression]
Transfers a program from
the terminal to the ASCII
Unit user memory.
Command
170
LOC
LOC (port number)
Provides the number of
bytes of data stored in the
reception buffer of a
specified port.
Special
170
LOG
LOG (numeric expression)
Determines a natural
logarithm.
Arithmetic
operation
170
LPRINT
[USING]
LPRINT [#port number]
[USING print format;]
expression {[,]expression}
or
LPRINT [#port number]
[USING print format;]
expression {[;]expression}
or
LPRINT [#port number]
[USING print format;]
expression
{ [space]expression}
Assigns LPRT as the
device symbol (using the
specified format), and
outputs the expression
value to a specified port.
General
171
MID$
MID$ (<character
expression>, <character
position> [number of
characters])
Fetches the specified
number of characters
from a specified
character position.
Character
string
172
MID$
MID$ (<character
expression>, <character
position> [,number of
characters])=<character
expression>
Replaces the number of
characters from a
specified character
position with specified
character string.
General
173
MODEL
MODEL
Determines ASCII Unit
model.
Special
173
NEW
NEW
Deletes the program
currently being used and
clears all variables.
Command
174
OCT$
OCT$ (numeric expression)
Converts decimal value
to an octal character
string.
Character
string
175
ON ALARM
ON ALARM <time
expression>
GOSUB <line number>
or
ON ALARM <time
expression>
GOSUB <label>
Branches to interrupt
subroutine after one-shot
timer.
General
176
ON COM
GOSUB
ON COM [port number]
GOSUB <line number>
or
ON COM [port number]
GOSUB <label>
Branches to interrupt
subroutine when
interrupted by specified
port.
General
177
Command
Syntax
Details
Command
Statement
Function
Page
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...