|id||The id of the data structure to check.|
This function will return the "size" of the list, ie: the number
of items that have been added into it.
num = ds_list_size(control_list);
The above code checks a ds_list to see if it is empty or not, and if it is not, it gets the number of items that it contains and stores the value in a variable.