INPUT [“prompt string$”;] list of variables
Allows input from the keyboard to a list of variables. The input command will prompt with a question mark (?).
The input must contain commas to separate each data item if there is more than one variable.
For example, if the command is:
INPUT a, b, c
And the following is typed on the keyboard: 23, 87, 66
Then a = 23 and b = 87 and c = 66
If the “prompt string$” is specified it will be printed before the question mark. If the prompt string is terminated with a comma (,) rather than the semicolon (;) the question mark will be suppressed.
See also:
INKEY$
KEYDOWN
LINE INPUT (from keyboard)
ON KEY
Leave a Reply