CImageSet:RemoveFirst
The RemoveFirst method removes the CImage from the head of the list.
CImage = CImageSet:RemoveFirst() |
Removing a list member decreases the list length 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 the member at the head of the list:
|
-- result: count=10 |
|
-- remove the first member |
|
-- result: count=9 |