Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sorted Array Collection - RemoveLast Method

Panel
bgColor#2c3c4c

Remove the last item from the collection

Member of Sorted Array Collection (PRIM_SACO)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_OBJT

Reference to the object that was removed

Details

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.

Example

Removing the last item from the collection

     #RemovedItem <= #Collection.RemoveLast

This is the same as writing

     #RemovedItem <= #Collection.RemoveAt(#Collection.ItemCount)


See also

All Component Classes

Technical Reference