Sub Deque Class

AddHeadMulti

Inserts one or more value at the head of the deque. Pushes the values onto a stack when the deque is being used as a stack.

Signature (Visual Basic / VBA)

Public Sub AddHeadMulti( _
    ParamArray vValues() As Variant _
    )

Code Example

    Assuming
       Dim dqTemp As New Deque
    for example
       dqTemp.AddHeadMulti 12, "Sam"

Parameters

Parameter Description
vValues One or more values that will be inserted into the deque at its head. Values are added to the head of the deque left-to-right, so the rightmost argument becomes the head of the deque. Values can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.).

Notes & Version History

v1.3 Addition This Subroutine is a new addition to this version of Entisoft Tools.