-
Notifications
You must be signed in to change notification settings - Fork 9
MEM_foreach_ex
BigETI edited this page May 4, 2018
·
1 revision
A method to traverse through allocated memory
MEM_foreach_ex(index, size : Pointer:pointer)
new arr[10] = { 100, ... }, Pointer:pointer = MEM_new_arr(arr);
MEM_foreach(index, size : pointer)
{
printf("[%d] Value at index %d: %d", size, index, MEM_get_val(pointer, index));
}