Posted By: Fenriswolf
Array size - 12/03/07 19:59
Hello,
how can I get the size of an array?
I have tried the following:
var my_array[7];
...
size = sizeof(my_array) / sizeof(my_array[0]);
However, sizeof(my_array[0]) leads to an engine crash.
Thanks
how can I get the size of an array?
I have tried the following:
var my_array[7];
...
size = sizeof(my_array) / sizeof(my_array[0]);
However, sizeof(my_array[0]) leads to an engine crash.
Thanks