09-18-2023, 01:40 PM
This can become problematic if you pass the address of the arrays to C functions IMO.
A safer and better way to declare arrays is by always using the `TO` keyword.
Like `DIM myArray(1 TO 1024) AS DOUBLE`.
That way the arrays aways have the exact number of elements regardless of the `OPTION BASE` setting.
A safer and better way to declare arrays is by always using the `TO` keyword.
Like `DIM myArray(1 TO 1024) AS DOUBLE`.
That way the arrays aways have the exact number of elements regardless of the `OPTION BASE` setting.