readln/1
readln(Line)
Read a line of characters
Remarks
readln/1 reads characters from the current input device until it reads an ASCII carriage-return character (ASCII 13). The current input device is the keyboard/stdin, unless the default is changed via see/1. Pressing Esc causes readln/1 to fail immediately.
Example
readln(L)
This is a line
L=This is a line
1 Solution
readln(L)
No Solution <---- Esc pressed
readln(L)
<--- Empty line (Enter key only) is not the same as Esc
L=
1 Solution