CSet:Append
The Append method appends a member to the end of the set.
CSet:Append( member ) |
This method adds a member at the end of the set. In comparison, the Insert method adds a member prior to an index within the set.
The following script fragment appends strings to a CSet:
|
-- create a CSet |
|
-- add a string to the set |
|
-- add a string to the set |
|
-- add a string to the set |
-- Result: N = 3 |