contents   index   previous   next



seMakeStack

 

syntax:

   SEObject

SEContext.seMakeStack();

where:

None

 

return:

A handle to the created object (stack).

 

description:

This call creates a new stack. The returned object handle follows the standard object lifetime rules described in chapter VIII.

 

A stack is an object and can be used wherever an object can be used. However, you probably should not, as stacks are significantly slower to manipulate than objects. Stacks do have the benefit of guaranteeing that members will remain in the order they are created, so that SE.INDEX(0) is always the first member created, SE.INDEX(1) is the second, and so forth. Regular objects do not have this property. Stacks are used when needing to pass a list of items to the API, such as the parameters or the scope chain to seEval.

 

see:

seMakeObject, seEval

 


sePutWrapper