int DictSize(int dictionary)
Gets the size of the dictionary. Possibly useful for dictionaries that use number strings as keys!
// Log our "dynamic array" of names. // DictSize() determines the upper count of the array. // Assumes no missing number keys in between 0 and DictSize() - 1. for (i = 0; i < DictSize(dict); i++) { string name = DictGetString(dict, str(i)); Log(name); }
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |