
132
List of BASIC Commands
Section 7-5
HEX$
HEX$ (numeric expression)
Changes the decimal
value given by the
argument to a
hexadecimal character
string.
Character
string
160
IF
IF <numeric expression>
THEN[statement{:statement}
or <line number> or <label>]
GOTO <line number> or
<label> [ELSE[statement
{:statement} or <line
number> or <label>]}
Selects an executable
statement or destination
based on the results of a
numeric expression.
General
161
INKEY$
INKEY$ [#port number]
Finds the characters that
have been newly
received by the reception
buffer of a specified port.
Special
161
INPUT
INPUT[;] [#port number,]
[“prompt”; ]
variable{,variable}
INPUT [#port number,]
[“prompt”,] variable
{,variable}
Reads data separated by
carriage returns from the
reception buffer of a
specified port into a
specified variable.
General
162
INPUT$
INPUT$ (number of
characters [,#port number])
Reads a string of
characters of a specified
number of characters
from reception buffer of
specified port.
Special
163
INSTR
INSTR ([search start
position,] <character
expression 1>, <character
expression 2>)
Searches for character
expression 2 in character
expression 1, and obtains
the position of the first
character.
Character
string
163
INT
INT (numeric expression)
Rounds down a decimal
fraction to the nearest
integer.
Arithmetic
operation
164
INTRB
INTRB
Determines the line
number being executed
when an interrupt is
generated.
Special
164
INTRR
INTRR
Determines the original
interrupt type in an
interrupt subroutine.
Special
165
INTRS
INTRS
Determines the line
number that defined the
generated interrupt.
Special
165
KEY ON/OFF/
STOP
KEY [key number] ON or
KEY [key number] OFF
or
KEY [key number] STOP
Enables, disables or
stops a key input interrupt
(ON KEY).
General
166
LEFT$
LEFT$ (<character
expression>, <character
number>)
Finds the specified
number of characters
beginning from the
leftmost character of the
character string.
Character
string
166
LEN
LEN (character expression)
Determines the number
of characters in a
character string.
Character
string
166
LET
[LET] <variable
name>=<expression>
Assigns the value of an
expression to a variable
name.
General
167
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...