Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
print ( str -- )
Factor documentation
>
Factor handbook
>
Input and output
>
Streams
>
Default input and output streams
Prev:
write ( seq -- )
Next:
nl ( -- )
Vocabulary
io
Inputs and outputs
str
a
string
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