Remove the last item from the collection
Member of List Collection (PRIM_LCOL)
Name | Type | Data Type | Description |
---|---|---|---|
Result | *Result (Optional) | PRIM_OBJT | Reference to the object that was removed |
RemoveLast will remove the last item in the collection. Attempting to remove an item that does not exist will result in a run time error.
Removing the last item from the collection
#RemovedItem <= #Collection.RemoveLast
This is the same as writing
#RemovedItem <= #Collection.RemoveAt(#Collection.ItemCount)
Febuary 18 V14SP2