Skip to content

MAP_get_val_val

BigETI edited this page May 4, 2018 · 1 revision

Description

Map get value (key)

Returns

The value if successful, otherwise 0

Syntax

MAP_get_val_val(Map:map, key)

Example

new Map:map;
MAP_insert_val_val(map, 1, 2);
printf("The value for 1 is %d", MAP_get_val_val(map, 1));