User Tools

Site Tools


en:input

This is an old revision of the document!


Input (Statement)

Format

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 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.
References to array elements may also be specified.

See Also

History

1.99.99.14Added 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.
en/input.1471115415.txt.gz · Last modified: 2020/02/28 10:46 (external edit)