Dictionary Functions

Dictionaries are form of data type that function as an array, but with a "key", a string that is used to specify an array index. Dictionaries can be assigned both integer and strings entries, but after an index is set, the type can't be changed by later modifications to the array's entry.

  • DictContains() Returns if a specific key exists within a dictionary.
  • DictFree() Frees a dictionary from memory.
  • DictGetInt() Gets an integer entry from a dictionary type.
  • DictGetString() Gets a string entry from a dictionary type.
  • DictListKeys() Returns a lists of all of a dictionary's keys.
  • DictNew() Creates a new dictionary handle.
  • DictRemove() Deletes a key from a dictionary.
  • DictSetInt() Sets the value of an entry within a dictionary, creating a new key as necessary.
  • DictSetString() Sets the value of an entry within a dictionary, creating a new key as necessary.
  • DictSize() Gets the size of the dictionary.
  • Talkback

    There are no talkbacks on this documentation page yet. Post the first?

    Post a new comment?

    Ben McGraw's lovingly crafted this website from scratch for years.
    It's a lot prettier this go around because of Jon Wofford.
    Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.