INPUT [<expr>;] <var>

INPUT #<filenumber>,<var>

INPUT #SMS,<string>

INPUT [<expr>;] <var>

Reads input from the keyboard up to a carriage return. If the optional <expr> is supplied it is used as a prompt. Input or prompt starts from the current Text cursor position.

INPUT “How many apples?”;numApples

INPUT #<filenumber>,<var>

Reads a variable from a file previously opened with OPEN. Reads a variable op to the first CR or LF.

DIM s AS STRING

OPEN "test.txt" FOR INPUT AS #1

INPUT #1, s

INPUT #SMS,<string>

Gets a message from SMS and stores it in <string>.

Siehe auch: Keyboard Input - File I/O

Referenz - Startseite