I know this is quite basic, but I have a doubt on ArraySize function; does it return the size of the array or the number of non-null elements in the array?
In this case, will ArraySize function return a value of 3 (number of non-null elements), or a value of 100 (the actual size of the array)?
A simple test will give you the answer. It returns the number of elements.
Be aware that with multi dimension arrays it will return the total elements for all dimensions. In this case if you want the number of elements in a dimension, you must use ArrayRange()
Will test it :) Many thanks for the help and additional info
So I assume it will return 100 in this case...do you know how I could get to the number of non-null elements in the array?
Please enable the necessary setting in your browser, otherwise you will not be able to log in.