i = hashmap_name.getKeys(list_name ʃ, key_value1, ..., key_valueNʅ);
The
HashMap.getKeys function fills a
List with the keys at a specific location in the
HashMap. Each
key_value argument must be a numeric or string expression matching the type specified when
declaring the HashMap. If no arguments are provided, the first-dimension keys are returned; if one argument is provided, the second-dimension keys are returned; and so on.
The argument
list_name is a numeric or string List whose contents will be cleared and then filled with the HashMap's keys. The type of the List must correspond to the type of keys at the specified location. If the dimension type is
numeric, then the List must be a numeric List. If the dimension type is
string or
all, then the List must be a string List. In the case of
all, any numeric values added as keys to the HashMap will be converted to strings before being inserted in the string List.
The function returns the number of keys added to the List.