|
|||||
Global variables: saving values in local scopes | |||||
Prerequisite Concepts | Related Syntax |
A save
or save-clear
declaration establishes a new instance of a global shelf, which hides the previous instance for any new references to it. The currently selected item for the new instance always begins as the last-most item, even if the shelf was the subject of a using
prefix or a repeat over
loop when it was saved. At the end of the local scope, when the old instance of the shelf is "unhidden", the previous currently selected item will become the currently selected item again.
The save
and save-clear
declarations are allowed in any local scope and are in force for the duration of the actions that follow the declarations.
Prerequisite Concepts Global variables: declaring Variables |
Related Syntax global, local save save-clear |
---- |