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.

§ 16.90.5.34 - push (SceneScript element)

 <push

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:

Set up initial set of conditions Create the objects that use those conditions  <push (a copy of the current conditions is saved) Modify the initial conditions as extensively as you like Create objects using the modified conditions  <pull (copy taken off the stack overwrites the changes) Create further objects using initial conditions
Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
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

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 206
box