User Tools

Site Tools


en:input

This is an old revision of the document!


Input (Statement)

Format

input prompt_expr, string_variable$
input prompt_expr, numeric_variable
input string_variable$
input numeric_variable
input prompt_expr, string_array_variable$[index]
input prompt_expr, numeric_array_variable[index]
input string_array_variable$[index]
input numeric_array_variable[index]
input prompt_expr, string_array_variable$[index, index]
input prompt_expr, numeric_array_variable[index, index]
input string_array_variable$[index, index]
input numeric_array_variable[index, index]

Description

Waits for the user to type a line of text into the text output window. When the user hits the enter or return key, the line is read in to a string_variable or a numeric_variable.
User may optionally be prompted for the input by prompt_expr.
If a numeric variable is specified and non-numeric data is entered a zero will be assigned to the numeric variable.
References to array elements may also be specified.

See Also

en/input.1451713281.txt.gz · Last modified: 2020/02/28 10:46 (external edit)