Function:
Statement that expresses a comment. .
:A=$9
1@
REM
TEST
T Not executed.
Example:
144
7-2.
Program Commands
[, ["Message statement", ]
Character string
Variable name] *
Function:
Assigns input from the keyboard to a variable.
Parameter:
Message:
Character string.
Variable name:
Numeric variable name or character variable name.
Explanation:
1) Input from the keyboard is assigned to a variable when the &@ key is
pressed.
3) If the message is omitted, "?" only will be displayed.
4) In the key input wait status with the INPUT statement, the message and "?"
will be cleared with the first key input.
5) Error (Error 2) will occur if character string data is input to a numeric varia-
ble. Since "?" will be displayed again and a numeric value input will be
requested when the @3 key is pressed, make a new input. (If the @ key is
pressed, program execution will be terminated.)
7) If the J key only is pressed without
inputting the numeric value or
numeric expression, the value in the numeric variable will not change.
8) If the & key only is pressed without inputting a character expression when
inputting to a character variable, null will be assigned to the. character
variable.
145