This is an old revision of the document!
input prompt_expr, variable
input variable
input prompt_expr, array_variable[index]
input array_variable[index]
input prompt_expr, array_variable[index, index]
input array_variable[index, index]
input float prompt_expr, variable
input float variable
input float prompt_expr, array_variable[index]
input float array_variable[index]
input float prompt_expr, array_variable[index, index]
input float array_variable[index, index]
input integer prompt_expr, variable
input integer variable
input integer prompt_expr, array_variable[index]
input integer array_variable[index]
input integer prompt_expr, array_variable[index, index]
input integer array_variable[index, index]
input string prompt_expr, variable
input string variable
input string prompt_expr, array_variable[index]
input string array_variable[index]
input string prompt_expr, array_variable[index, index]
input string array_variable[index, index]
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 user's input is stored in to a variable. If the user types in a valid number, the variable will contain an integer or floating point number and not a string. The conversion to a number (or not) may be forced by specifying INPUT FLOAT, INPUT INTEGER, or INPUT STRING.
User may optionally be prompted for the input by prompt_expr.
References to array elements may also be specified.
1.99.99.14 | Added INPUT FLOAT, INPUT INTEGER, INPUT STRING and made INPUT try to assign variable the correct type (integer, float, or string) based upon the user entry. |