Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
with-output-stream* ( stream quot -- )
Factor documentation
>
Factor handbook
>
Input and output
>
Streams
>
Default input and output streams
Prev:
with-output-stream ( stream quot -- )
Next:
with-streams ( input output quot -- )
Vocabulary
io
Inputs and outputs
stream
an output stream
quot
a
quotation
Word description
Calls the quotation in a new dynamic scope, with
output-stream
rebound to
stream
.
Notes
This word does not close the stream. Compare with
with-output-stream
.
See also
with-output-stream
Definition
USING:
kernel
namespaces
;
IN:
io
:
with-output-stream*
( stream quot -- )
output-stream
swap
with-variable
;
inline