comp • gb.data • stack

Stack (gb.data)

A Stack is a LIFO datatype. It follows the access patterns of "last in, first out". (In some cultures this is also known as FILO "first in, last out")

If you know the Tower of Hanoi, you know what a Stack is. Also, for further information, refer to this wikipedia article

This class is
Dim hStack As Stack
creatable
.

Properties

Methods
property Read IsEmpty As Boolean
IsEmpty  
property Read Size As Integer
Size  
Sub Clear ( )
Clear  
Return a deep copy of the Stack.
Copy  
Function Peek ( ) As Variant
Peek  
Function Pop ( ) As Variant
Pop  
Sub Push ( Value As Variant )
Push