BE_StackCount

BE_StackCount ( name )

A stack is an internal plugin storage type, where you push data into a stack ( like a list of values ) and Pop data out.  In the plugin, stacks are LIFO ( Last In First Out ) so when you push a value onto the named stack, it will be the next value to POP out of the stack.

This function returns a count of the total number of values remaining in stack name.

Version : 4.1 

Parameters : 
name : the name of the stored stack.  Stacks have names, much like variables do.

Result : a count of the values.  Doesn't alter the content of name at all.  Returns 0 for a stack that doesn't exist, or is empty.

Have more questions? Submit a request

0 Comments

Article is closed for comments.