You can use the Clear attribute function to empty the list.
|
Syntax |
|
Clear() |
|
Return value |
|
None |
|
Parameter |
|
None |
Example:
Colors.Add({"red", "blue", "green"})
MsgBox(Colors.Count)
#Shows 3
Colors.Clear
MsgBox(Colors.Count)
# Shows 0