|
|||||
Referents: the global referent set | |||||
Prerequisite Concepts | Related Syntax |
Outside of any using nested-referents
, there is a global referents set. This is the initial referent set in any program using referents, and the only one if the program doesn't use using nested-referents
.
The referent set established by using nested-referents
exists for the duration of the action which it prefixes. The global referent set exists throughout the OmniMark program as a whole.
The global referent set differs from the referent sets established using using nested-referents
only in that all streams are local to the "global set", and consequently, all buffers and referents are discarded at the end of the global referent set.
This means that referents can be left undefined, without error, if they are associated with the global referent set and written only to buffers or referents which are never themselves written to a file or to the built-in stream #main-output
(even indirectly).
Prerequisite Concepts Referents |
Related Syntax using nested-referents |
---- |