Programmers need to be held accountable for something, if you have OPTION BASE 1 and try to DIM Array(0) that is not the IDE or Compiler's problem there, that is the Programmers! Though my Windows does give error information when it crashes('access violation').
Programmers need to be held accountable for something, if you have OPTION BASE 1 and try to DIM Array(0) that is not the IDE or Compiler's problem there, that is the Programmers! Though my Windows does give error information when it crashes('access violation').
This statement affects array declarations where the lower bound of a dimension is not specified.
When used, OPTION BASE must come before any array declarations (DIM) to be affected.
By default, the lower bound for arrays is zero, and may be changed to one using the statement.
Otherwise, arrays will be dimensioned from element 0 if you DIM just the upper bounds.
You can also set other array boundaries by using TO in the DIM declaration such as DIM array(5 TO 10)