|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.|
22.214.171.124 - stack (SceneScript element)
The <stack> command, or it's synonym <push> , 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, <stack> or <push> 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:
Set up initial set of conditions
Create the objects that use those conditions
(a copy of the current conditions is saved)
Modify the initial conditions as extensively as you like
Create objects using the modified conditions
(copy taken off the stack overwrites the changes)
Create further objects using initial conditions
, Previous Page
. Next Page
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A
This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7