Difference between revisions of "Input"
From Xojo Documentation
m (→See Also) |
|||
Line 30: | Line 30: | ||
==Example== | ==Example== | ||
<rbcode> | <rbcode> | ||
− | + | Var s As String | |
s = Input | s = Input | ||
</rbcode> | </rbcode> |
Latest revision as of 02:59, 19 July 2019
Method
Retrieves a line from the terminal in console applications.
Syntax
result=Input
Part | Type | Description |
---|---|---|
result | String | The line retrieved from the terminal. Input does not return the Newline character as part of result. |
Notes
Input is equivalent to a call to the ReadLine method of the StandardInputStream class.
Example
See Also
ConsoleApplication, StandardInputStream, StandardOutputStream classes; Print, StdIn methods; TargetDesktop constant.