|
|||||
control structure | using output as | ||||
Related Syntax | Related Concepts |
Syntax
using output as stream-name indexer? open-modifiers? (&stream-name indexer? open-modifiers?)* action
The using output as
prefix causes the named streams to be the new current output set during the action contained in the prefix. (Note that the named streams must be currently open.)
Only the following modifiers are permitted with using output as
:
binary
open modifier
Action is the action that falls under the control of the using
prefix. If the action contains a %c
operator, all the element content indicated by the %c
is written to the named streams unless a put
, set
or another using output as
prefix is encountered.
using output as
is more useful when a number of actions all write to the same streams.
The following variations are permitted:
and
can be used in place of "&".
Related Syntax and binary put set %c |
Related Concepts I/O and variables Output |
---- |