Name
STACK -- Class are destined to control stack arbitrary data.
Description
Class are destined to control stack arbitrary data.
Methods
Method STACK:FREE()
Free() --> .t.
Free() is removed all elements from stack.
Method STACK:LEN()
Len() --> nLenStack
Len() is return elements count of stack.
Method STACK:POP()
Pop() --> vData
Pop() is return last pushed data in to stack. If stack has no elements function return NIL
Method STACK:PUSH()
Push(<vData>) --> nLenStack
Push() is inserted arbitrary data to the end of stack.
Method STACK:STACKNEW()
StackNew() --> new Stack object
StackNew() is constructs and returns new stack object. That class can be used to storage, access, control arbitrary data.
Platforms
No dependies of platform.