ReadText

Name

ReadText -- Reads data from an input stream as text

Synopsis

ReadText[input<->INPUT, {x<->}, until->TEXT] =: INPUT
ReadText[input<->INPUT, {x<->}, n->INTEGER] =: INPUT

Description

ReadText reads data of type TEXT from the input stream and assigns it to x. The first signature reads from input until the string until is reached. For example, setting until->"\n" will read a line of text from input. The second signature reads n characters from input.

See also

Input, IsEof, Read, Write.