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