|
|||||
Shelves: save declarations mixed with local declarations | |||||
Prerequisite Concepts | Related Syntax |
OmniMark requires that any save
, save-clear
, and local
declarations appear before the rest of a rule. However, a local shelf declaration differs from a save
declaration or save-clear
declaration in several ways.
The initial value of a shelf declared by a local shelf declaration is one (1), deactivated or empty stream, depending on its type. It has no relation to any global shelf of the same name.
A local shelf may be declared after a global shelf of the same name has been saved or save-cleared. Only global shelves can be saved.
save
and local
declarations can be used to control various aspects of a shelf related to protecting and changing its values.
Prerequisite Concepts Arrays Shelves: saving contents |
Related Syntax save save-clear |
---- |