MQL4 Reference
Array functions
ArrayRange
| int ArrayRange( |
object array[], int range_index) |
Returns the count of elements in the given dimension of the array.
Since indexes are zero-based, the size of dimension is 1 greater than the largest index.
Parameters:
| array[] |
- |
Array to check |
| range_index |
- |
Dimension index. |
Sample:
int dim_size;
double num_array[10,10,10];
dim_size=ArrayRange(num_array, 1);
|
|
|