Handbook
Glossary
print ( str -- )
Factor handbook
»
Input and output
»
Streams
»
Default input and output streams
Prev:
write ( seq -- )
Next:
nl ( -- )
Vocabulary
io
Inputs
str
a
string
Outputs
None
Word description
Writes a newline-terminated string to
output-stream
.
Errors
Throws an error if the I/O operation fails.
Definition
USING:
namespaces
;
IN:
io
:
print
( str -- )
output-stream
get
stream-print
;
inline