Produced by IDL 6.1
User Documentation

./guide
emptystack.pro

Last modification date:
Thu Jun 2 23:56:08 2005

emptystack

procedure emptystack, [/reset], [/shrink]

Clear the stack. Normally this simply sets !g.acount to 0, and this is all that is needed for typical use of the stack. Optionally, the procedure can also reset the stack array to zeros and it can shrink the size of the stack to its initial size of 5120 elements.

Version
$Id: emptystack.pro,v 1.3 2005/05/24 20:16:56 jbraatz Exp $

Keywords
reset
in, optional
boolean
When set, the values will be reset to 0. This is not required for typical use of the stack.
shrink
in, optional
boolean
When set, the size of the array will be reset to its initial size of 5120 elements. This is to reverse any automatic expansion that may have occurred during previous stack operations.


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:47 2005