MCHLV
Member
Hello all,
Quick question, but I was not able to solve this...
In a script like
Is the last line 'ds_map_destroy(_item)' required for cleansing ?
I read about the need to clean data structure because the index is incremented but do I need to do it for a temp/local variable in a script ??
Thanks for your confirmation.
M.
Quick question, but I was not able to solve this...
In a script like
Code:
/// include_item_in_master_map()
var _item_name = argument0;
var _item = ds_map_create();
_item[? "attribute"] = argument1;
_item[? "power"] = argument2;
ds_map_add(master_map, _item_name, _item);
ds_map_destroy(_item);
I read about the need to clean data structure because the index is incremented but do I need to do it for a temp/local variable in a script ??
Thanks for your confirmation.
M.