<-- Previous || Up || Next -->

Push Sub
Stack Class

Public Sub Push( _
    ByVal vValue As Variant _
    )

Push a new value onto the top of the stack.

Example:
    Assuming
       stkTemp.StringView() = "(Top) 333, 22, 1 (Bottom)"
    for example
       stkTemp.Push 4444
    leaves
       stkTemp.StringView() = "(Top) 4444, 333, 22, 1 (Bottom)"
See also:
    PushMulti Subroutine
    Pop Function
    Duplicate Function
    Over Function
    Pick Function
    Deque Class
       StackPush Subroutine
vValue: Value that will be added to the top of the stack. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.).
v1.3 BugFix: This Subroutine has been fixed to support the storage of Object and DataObject type Values.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.