This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
The <push> command, or it's synonym <stack> , is used to take a complete copy of the current environment and save it on a stack of such information. The information stack may be up to 1024 deep; if you get over 1024 levels deep, further stacking commands have no effect.
Typically, <push> or <stack> is used to save the current state, unusual and/or extensive changes are made for a particular object or group of objects, and the the <unstack> language element (or it's synonyms, <pop> and <pull> ) are used to restore the previous state.
This is a classic "programming stack", in the sense that the first thing you push onto it will be the last thing pulled off.
Here is the general concept: