Public Sub QueueAdd( _
ByVal vValue As Variant _
) Assuming
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
leaves
varOne = 12
varTwo = 23See also: QueueRemove Function
AddTail SubroutinevValue: Value that will be inserted into the queue. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.). AddTail vValuev1.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.