StdIn

From Xojo Documentation

Revision as of 18:57, 9 November 2018 by PLefebvre (talk | contribs) (See Also)
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:

Dim s As String
s = StdIn.ReadLine

See Also

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