CSet:RemoveLast
The RemoveLast method removes the member at the tail of the list.
member = CSet:RemoveLast() |
Removing the list member decreases the list length by 1 member.
Suppose a CSet exists with name S and that it contains 10 values. The following script fragment removes the value at the head of the list:
|
-- result: count=10 |
|
-- remove the last member |
|
-- result: count=9 |