From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from Object)

Used for reading text input in a ConsoleApplication.

EndOfFile Read ReadLine
Operator_Convert ReadAll


The StandardInputStream class implements the Readable class interface.


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.