StandardInputStream

From Xojo Documentation

Class (inherits from Object)

Used for reading text input in a ConsoleApplication.

Methods
EndOfFile Read ReadLine
Operator_Convert ReadAll

Interfaces

The StandardInputStream class implements the Readable class interface.

Notes

Since there is only one StandardInputStream for the system, you do not need to create a StandardInputStream object to use; you just use StdIn.

StandardInputStream incorporates a conversion operator so that you can use StdIn as a TCPSocket. This is useful only for services that are started for you by xinetd on macOS or Linux. Here is an example of how to use this:

Var Incoming As TCPSocket = Stdin

See Also

ConsoleApplication, StandardOutputStream classes; Input, Print, StdErr, StdIn, StdOut methods; TargetDesktop constant.