CImageSet:RemoveAt
The RemoveAt method removes a CImage from the list by its index position in the set.
CImage = CImageSet:RemoveAt( position ) |
Removing a list member decreases the set Count by 1 member. Removal does not delete the CImage or its associated image.
Suppose a CImageSet exists with name S and that it contains 10 images. The following script fragment removes from the list the CImage object at index 5:
|
-- result: count=10 |
|
-- remove the member at index 5 |
|
-- result: count=9 |