ds_map_delete


描述

With this function you can remove any given key (and its corresponding value) from the given, previously created, ds_map.


语法:

ds_map_delete(id, key);

参数 描述
id The id of the map to change.
key The key (along with its associated value) to delete.


返回:

N/A(无返回值)


例如:

ds_map_delete(inventory, "shield");

The above code will delete the key "shield" (and the value it is paired with) from the ds_map (inventory).