The following two commands create streams which accept characters from, or deliver characters to, the user, via the keyboard or the GAP session display.
InputTextUser( ) F
returns an input text stream which delivers characters typed by the user (or from the standard input device if it has been redirected). In normal circumstances, characters are delivered one by one as they are typed, without waiting until the end of a line. No prompts are printed.
OutputTextUser( ) F
returns an output stream which delivers characters to the user's display (or the standard output device if it has been redirected). Each character is delivered immediately it is written, without waiting for a full line of output. Text written in this way is not written to the session log (see LogTo).
[Top] [Previous] [Up] [Next] [Index]
GAP 4 manual