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

Remove Tail Multi Function
Deque Class

Public Function RemoveTailMulti( _
    ParamArray rValues() As Variant _
    ) As Integer

Deletes one or more values at the tail of a deque and returns them via the arguments.

Example #1:
    Assuming
       Dim dqTemp As New Deque
       dqTemp.AddTail 12
       dqTemp.AddTail "Sam"
       Dim varTemp1 As Variant
       Dim varTemp2 As Variant
       Dim intCount As Integer
    for example
       intCount = dqTemp.RemoveTail(varTemp1, varTemp2)
    leaves
       intCount = 2
       varTemp1 = "Sam"
       varTemp2 = 12
See also:
    RemoveTail Function
rValues: Values at the tail of the Deque are assigned into these arguments. Arguments must be compatible with the corresponding values that are being retrieved from the Deque.
Return Value: Function returns the number of values removed from the Deque.
v1.3 Addition: This Function is a new addition to this version of Entisoft Tools.

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