The INPUT statement assigns values from your terminal or from a terminal-format file to program variables. Examples: INPUT "TYPE IN 3 INTEGERS";A%, B%, C% INPUT #3%, Record_string$
1 – Syntax
INPUT [chnl-exp,] [prompt] var [{ , } var]... { ; } prompt: str-const sep
2 – LINE
The INPUT LINE statement assigns a string value, including the line terminator, from a terminal or terminal-format file to a string variable. Examples INPUT LINE "TYPE A LINE OF TEXT", Z$ INPUT LINE #4%, Record_string$
2.1 – Syntax
INPUT LINE [chnl-exp,] [prompt] str-var [{ , } str-var]... { ; } prompt: str-const sep