|
|||||
|
|||||
Related Syntax | Related Concepts | ||||
control structure |
using output as |
Syntax
using output as modified-sink (& modified-sink)* action
Argument definitions
The using output as
prefix creates a new output scope and attaches to
it the given modified sink expressions. If a sink expression is a
stream, it must be open. If a modified sink expression is an
attachment, it will be opened for the duration of the output scope.
The following attachments are permitted for using output as
:
referent
string-expression, which attaches the output scope to a
referent whose name is given by a string expression.
file
string-expression, which attaches the output scope to a
file whose name is given by a string expression.
When the modified sink expression is a stream, the following modifiers
are permitted with using output as
:
binary
open modifier
Meanwhile, if the modified sink expression is an attachment, any
modifier allowed by the open
action can be used.
Any output generated by action
will be redirected to the output scope
created by using output as
.
The following variations are permitted:
Related Syntax & (and) binary put set |
Related Concepts Output |