User Tools

Site Tools


en:input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:input [2016/08/13 13:13]
admin
en:input [2020/11/22 21:31] (current)
admin
Line 30: Line 30:
  
 ==== Description ==== ==== 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 [[variables|variable]].  If the user types in a valid number, the variable will contain an integer or floating point number and not string.  The conversion to a number (or not) may be forced by specifying INPUT FLOAT, INPUT INTEGER, or INPUT STRING. \\+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 [[variables|variable]].\\ 
 + 
 +Using just INPUT, if the user types a valid number it will be converted and stored as either an integer or a float.  If INPUT is unable to convert what is typed, it will be saved as string.\\ 
 + 
 +You may force the type conversion by specifying INPUT FLOAT, INPUT INTEGER, or INPUT STRING. \\ 
 User may optionally be prompted for the input by [[expressions|prompt]].\\ User may optionally be prompted for the input by [[expressions|prompt]].\\
 References to array elements may also be specified. References to array elements may also be specified.
en/input.1471115583.txt.gz · Last modified: 2020/02/28 10:46 (external edit)