Signature (Visual Basic / VBA)
Public Function Drop( _
ByVal vNTimes As Long _
) As Boolean
Code Example
Assuming
stkTemp.StringView() = "(Top) 4, 3, 2, 1 (Bottom)"
for example
stkTemp.Drop(2) = True
leaves
stkTemp.StringView() = "(Top) 2, 1 (Bottom)"
Parameters
| Parameter | Description |
|---|---|
| vNTimes | The number of items to be removed from the top of the stack. The function does nothing and returns False if there are fewer than vNTimes items on the stack. This function also does nothing and returns False if vNTimes is less than or equal to zero (<=0). |
Notes & Version History
| v1.3 BugFix | This Function has been fixed to support the Drop of Object and DataObject type Values. |