write1 ( elt -- ) (original) (raw)

write1 ( elt -- )
Factor handbook » Input and output » Streams » Default input and output streams

Prev: flush ( -- )
Next: write ( seq -- )

Vocabulary
io

Inputs

elt an element

Outputs
None

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