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


Syntax
StandardInput(): ISTREAM

Description
This function returns an ISTREAM for reading interactive input: see GetLine .

Warning: this function may not work well if you are running CoCoA inside a GUI.

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

See Also