ds_map_find_next(id,key)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the value with the smallest key after the specified key in the given data structure map.

Parameters

Parameter Data Type Description
id constant unsigned integer index of the data structure map
key constant variant the key after which to look for the smallest

Return Values

constant variant: Returns the smallest key after the given key.

Example Call

// demonstrates finding the smallest key after the username key
var smallest;
smallest = ds_map_find_next(mymap, "username");