| Calling Sequence
| ReadLine()
ReadLine(t)
|
| Parameters
| | Name | Type | Description |
|
| t
| string | a prompt string |
|
| Return Type
| anything |
| Synopsis
| Reads one statement from the current input stream, evaluates the
statement and return its value. The string t is a prompt which
is sent to the standard output directly before reading from the
standard input. This statement should only be used from within a
procedure. |
| Examples
| > x := proc()
t := ReadLine('prompt: ');
lprint('The user entered: ',t);
end;
> x();
prompt: 1+3;
The user entered: 4
|
| See also
| FileStat, inputoutput, MySql, OpenPipe, OpenReading, ReadData, ReadOffsetLine, ReadRawFile, ReadRawLine, ReadURL, SearchDelim, SplitLines |