Signature (Visual Basic / VBA)
Public Sub StackPush( _
ByVal vValue As Variant _
)
Code Examples
Assuming
Dim dqTemp As New Deque
for example
dqTemp.StackPush 12
dqTemp.StackPush 23
Dim varOne As Variant
Dim varTwo As Variant
dqTemp.StackPop varOne
dqTemp.StackPop varTwo
leaves
varOne = 23
varTwo = 12
AddHead vValue
Parameters
| Parameter | Description |
|---|---|
| vValue | Value that will be inserted into the stack. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.). |
Notes & Version History
| v1.3 BugFix | This Subroutine has been fixed to support the storage of Object and DataObject type Values. |