Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
write1 ( elt -- )
Factor documentation
>
Factor handbook
>
Input and output
>
Streams
>
Default input and output streams
Prev:
flush ( -- )
Next:
write ( seq -- )
Vocabulary
io
Inputs and outputs
elt
an element
Generic word contract
Writes an element 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
:
write1
( elt -- )
output-stream
get
stream-write1
;
inline