up previous next
GetLine --
read a line of input from an in-stream
|
GetLine(IN: ISTREAM): STRING |
This function reads a line of input from the in-stream
IN
, and returns the result
as a string. The string does not contain the end-of-line character.
Currently, if the
ISTREAM
is ended then the result is a string containing just
an end-of-line character.
/**/ Istring := OpenIString("one\ntwo\nthree");
/**/ GetLine(Istring); -- get the first line
one
/**/ GetLine(Istring); -- get next line
two
|
NOTE: this function may not work properly under the GUI Interface.