Versions Compared

Key

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

Array Collection - RemoveAt Method

Panel
bgColor#2c3c4c

Removes the item at the specified position

Member of Array Collection (PRIM_ACOL)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_OBJT

Reference to the object that was removed

Index

*Input

Integer

Item to be removed

Details

RemoveAt will remove the item at the specified index.

Attempting to remove an item that does not exist will result in a run time error.

Example

Removing the 4th item from the collection

     #RemovedItem <= #Collection.RemoveAt(4)


See also

All Component Classes

Technical Reference