StdIn

From Xojo Documentation

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.