up previous next
StandardInput    --    an ISTREAM for reading the standard input


Syntax
StandardInput(): ISTREAM

Description
This function returns an ISTREAM for reading interactive input.

This function may not work well if you are running CoCoA inside a GUI.

Example
/**/  UserInput := StandardInput();
/**/  str := GetLine(UserInput);
Hello
/**/  println "The input was: ", str;
The input was: Hello

See Also