StdIn

From Xojo Documentation

Revision as of 00:37, 30 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

Retrieves the global reference to the standard input stream, used in ConsoleApplications.

Syntax

result=StdIn

Part Type Description
result StandardInputStream The standard input stream is typically the keyboard as used for the Terminal application.

It could be a file, serial control, socket or other such input device on some systems.

Example

Gets the input after the user presses return:

Var s As String
s = StdIn.ReadLine

See Also

ConsoleApplication, StandardInputStream, StandardOutputStream classes; TargetDesktop constant; Input, Print, StdOut, StdErr methods; Readable class interface.