What do you mean with size, amount of indexes? Then what are you trying to achieve with sizeof(my_array[0])?
Furthermore, this is what the manual says about sizeof():
Quote:
The sizeof() function returns the size of a variable or a struct in bytes. This can be used to initialize structs through the zero macro that is defined in include\acknex.h
If you want to have the amount of indexes an array contains, you have to make your own function because as far as I'm aware, lite-c does not have such a function yet.
Not tested code which is inevitebly wrong, but it's about the concept:
Code:
int getArrayLength(var array) {
int n = 0;
while (array[n]){n++}
return n;
}