|
|||||
action | close | ||||
Sample Code | Related Syntax |
Syntax
close stream-name indexer? (and stream-name indexer?)*
The close
action explicitly closes a stream. Once a stream that is attached to a file, buffer, referent, markup parser, or external output function has been closed, the same stream name can be used to open another attachment.
Streams don't normally need to be closed because:
open
is performed on the stream variable.
Several streams can be closed at once.
It is an error to close a stream that is part of any #current-output
for any currently open rule or function.
The following syntactic variations are permitted:
and
.
Sample Code
Referents and line breaking |
Related Syntax #current-output open |
---- |