Specifications
249
If
"prompt" is followed by a comma, the statement displays the prompting mes-
sage but no question mark or space is appended to the prompting message.
LINE INPUT "data= ",a$
• The cursor shape specified by the most recently executed LOCATE statement
takes effect.
• Even after execution of the CURSOR OFF statement, the LINE INPUT statement
displays the cursor.
• Data inputted by the user will echo back to the LCD. To assign it to string-
variable
, it is necessary to press the ENT key.
Pressing the ENT key causes also a line feed.
If you type no data and press the ENT key, a
LINE INPUT statement automati-
cally assigns a null string to
stringvariable.
• 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 string data:
The effective length of string data is the maximum string length of
string-
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.
data=