CImageSet:RemoveLast
The RemoveLast method removes the CImage from the tail of the list.
CImage = CImageSet:RemoveLast() |
On success, the removed CImage is returned.
On failure, nil is returned.
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 removes the member at the tail of the list:
|
-- result: count=10 |
|
-- remove the last member |
|
-- result: count=9 |
CImageSet class, RemoveAt, RemoveFirst, CImage class
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.