Property Deque Class

Head

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

Signature (Visual Basic / VBA)

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

Code Example

    Assuming
       Dim dqTemp As New Deque
    for example
       dqTemp.AddHead 12
       Dim varTemp As Variant
       dqTemp.Head varTemp
    leaves
       varTemp = 12

Parameters

Parameter Description
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).

Notes & Version History

v1.3 Addition This Property Get Function is new to this version of Entisoft Tools.