Public Sub PushMulti( _
ParamArray vValues() As Variant _
Push one or more values onto the top of the stack. Example:
Argument values are pushed onto the stack in order from left to right.
The last argument ends up on the top of the stack.
stkTemp.StringView() = "(Top) 3, 2, 1 (Bottom)"
stkTemp.PushMulti 4, 5
stkTemp.StringView() = "(Top) 5, 4, 3, 2, 1 (Bottom)"See also:
PopMulti FunctionvValues: 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.).
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.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.