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

Queue Add Sub
Deque Class

Public Sub QueueAdd( _
    ByVal vValue As Variant _

Add an item to the queue when the deque is being used as a queue.
Same as AddTail.

       Dim dqTemp As New Deque
    for example
       dqTemp.QueueAdd 12
       dqTemp.QueueAdd 23
       Dim varOne As Variant
       Dim varTwo As Variant
       dqTemp.QueueRemove varOne
       dqTemp.QueueRemove varTwo
       varOne = 12
       varTwo = 23
See also:
    QueueRemove Function
    AddTail Subroutine
vValue: Value that will be inserted into the queue. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.).
    AddTail vValue
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.