Handbook
Glossary
write ( seq -- )
Factor handbook
»
Input and output
»
Streams
»
Default input and output streams
Prev:
write1 ( elt -- )
Next:
print ( str -- )
Vocabulary
io
Inputs
seq
a
byte-array
, a
string
, or
f
Outputs
None
Word description
Writes a sequence of elements to
output-stream
. If the stream does buffering, output may not be performed immediately; use
flush
to force output.
Errors
Throws an error if the I/O operation fails.
Definition
USING:
namespaces
;
IN:
io
:
write
( seq -- )
output-stream
get
stream-write
;
inline