MapCreate
|
Map functions |
SYNTAX | MapCreate( hash_size = 0 ) |
RETURNS | MAP |
FUNCTION | Creates a new Map object and returns the map. In AFL, a Map is a data structure that stores key-value pairs, similar to dictionaries in other programming languages. Map keys are strings. Values can be of any type.
Advanced users may pass hash table size if they want to store lots of data in a map in hash_size parameter. Hash size should be prime number larger than maximum expected number of elements in the map |
EXAMPLE | // Map creation |
SEE ALSO |
The MapCreate function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.