Signature (Visual Basic / VBA)
Public Sub PushMulti( _
ParamArray vValues() As Variant _
)
Code Example
Assuming
stkTemp.StringView() = "(Top) 3, 2, 1 (Bottom)"
for example
stkTemp.PushMulti 4, 5
leaves
stkTemp.StringView() = "(Top) 5, 4, 3, 2, 1 (Bottom)"
Parameters
| Parameter | Description |
|---|---|
| vValues | One or more values that are pushed onto the stack from left-to-right. The values can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.). |
Notes & Version History
| Warning | Visual Basic does not guarantee the order of evaulation of the arguments to function calls. Be careful if you call this function with arguments that are the result of calls to functions that have side effects. For example, calling this function with the results of multiple Pop operations would have unpredictable results since the Pop has the side effect of removing items from the stack. |
| Note | Use the Push subroutine instead of this subroutine when you only need to push one value onto the stack. |
| v1.3 BugFix | This Subroutine has been fixed to support the storage of Object and DataObject type Values. |