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

Add Tail Sub
Deque Class

Public Sub AddTail( _
    ByVal vValue As Variant _

Inserts a value at the tail of the deque.
Put a value into a queue when the deque is being used as a queue.

       Dim dqTemp As New Deque
    for example
       dqTemp.AddTail 12
       dqTemp.AddTail "Sam"
       Dim varOne As Variant
       Dim varTwo As Variant
       dqTemp.RemoveHead varOne
       dqTemp.RemoveHead varTwo
       varOne = 12
       varTwo = "Sam"
See also:
    AddTailMulti Subroutine
    AddHead Subroutine
    RemoveTail Function
    QueueAdd Subroutine
vValue: Value that will be inserted into the deque at its tail. 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.