CSet:RemoveFirst
The RemoveFirst method removes the member at the head of the list.
member = CSet:RemoveFirst() |
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 first member |
|
-- result: count=9
|