Signature (Visual Basic / VBA)
Public Sub AddHead( _
ByVal vValue As Variant _
)
Code Example
Assuming
Dim dqTemp As New Deque
for example
dqTemp.AddHead 12
dqTemp.AddHead "Sam"
Dim varOne As Variant
Dim varTwo As Variant
dqTemp.RemoveHead varOne
dqTemp.RemoveHead varTwo
leaves
varOne = "Sam"
varTwo = 12
Parameters
| Parameter | Description |
|---|---|
| vValue | Value that will be inserted into the deque at its head. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.). |
Notes & Version History
| v1.3 BugFix | This Subroutine has been fixed to support the storage of Object and DataObject type Values. |