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

Head Property
Deque Class

Public Property Get Head( _
    ByRef rValue As Variant _
    ) As Boolean

Return the Value at the Head of the Deque without removing the value from the Deque.

Example:
    Assuming
       Dim dqTemp As New Deque
    for example
       dqTemp.AddHead 12
       Dim varTemp As Variant
       dqTemp.Head varTemp
    leaves
       varTemp = 12
See also:
    Tail Property
    RemoveHead Function
rValue: Value at the head of the Deque is assigned into variable rValue. rValue must be compatible with the value that is being retrieved from the Deque.
Return Value: Function returns True upon success and False upon failure (when the Deque is empty).
v1.3 Addition: This Property Get Function is new to this version of Entisoft Tools.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.