Handbook
Glossary
readln ( -- str/f )
Factor handbook
»
Input and output
»
Streams
»
Default input and output streams
Prev:
read-partial-into ( buf -- buf-slice more? )
Next:
readln ( -- str/f )
Vocabulary
io
Inputs
None
Outputs
str/f
a
string
or
f
Word description
Reads a line of input from
input-stream
. Outputs
f
on stream exhaustion.
Errors
Throws an error if the I/O operation fails.
Definition
USING:
namespaces
;
IN:
io
:
readln
( -- str/f )
input-stream
get
stream-readln
;
inline