Specifications
229
• The cursor shape specified by the most recently executed
LOCATE statement
takes effect.
• Even after execution of the
CURSOR OFF statement, the INPUT statement dis-
plays the cursor.
• Data inputted by the user will echo back to the LCD. To assign it to
variable, it
is necessary to press the ENT key.
Pressing the ENT key causes also a line feed. If
INPUT is followed by a semico-
lon (;) in an
INPUT statement, however, line feed is suppressed.
If you type no data and press the ENT key, an INPUT statement automatically
assigns a zero or a null string to
variable that is a numeric or string, respec-
tively.
• When any echoed back data is displayed on the LCD, pressing the Clear or BS
key erases the whole displayed data or a most recently typed-in character of the
data, respectively. If no data is displayed, pressing the Clear or BS key produces
no operation.
• Notes for entering numeric data:
The effective length of numeric data is 12 characters. The 13th typed-in literal
and the following will be ignored.
Valid literals include 0 to 9, a minus sign (-), and a period (.). They should be in
correct numeric data form. If not,
INPUT statement accepts only numeric data
from the first literal up to correctly formed literal, as valid data. If no valid data is
found, the
INPUT statement automatically assigns a zero (0) to variable.
A plus sign (+) can be typed in and echo back on the LCD, but it will be ignored in
evaluation of the typed-in data.
• Notes for entering string data:
The effective length of string data is the maximum string length of
variable.
Overflowed data will be ignored.
• The sizes of prompting message literals, echoed back literals and cursor depend
upon the screen mode (single-byte ANK mode or two-byte Kanji mode), the
screen font size (standard-size or small-size), and the character enlargement
attribute (regular-size, double-width, double-height, or quadruple-size). For
details, refer to Chapter 7, Subsection 7.1.3.
Syntax errors:
Error code and message Meaning
error 71: Syntax error
• Neither a comma (,) nor semicolon (;)
follows
"prompt".
•
"prompt" is not a string constant.