Public Property Get IsEmpty( _ ) As Boolean
Assuming Dim dqTemp As New Deque dqTemp.AddTail "Sam" for example dqTemp.IsEmpty = FalseExample #2:
Dim dqTemp As New Deque ' Fill Dim intCount As Integer For intCount = 1 To 5 dqTemp.AddHead intCount Next intCount ' Remove Dim varValue As Variant Do Until dqTemp.IsEmpty Debug.Print dqTemp.RemoveTail(varValue) Debug.Print varValue LoopSee also:
Count PropertyReturn value: Property returns True if the Deque is currently empty, and it returns False if the Deque contains one or more items.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.