You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

List Collection - RemoveAt Method
Removes the item at the specified position
Member of List Collection (PRIM_LCOL)

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

  • No labels