02-03-2024, 08:54 PM
As you can see, I'm in the mood for questions.
Look at this:
the result is "5".
Fine.
Look at this:
This is less "fine".
1. If OPTION_EXPLICIT is activeted, it says "myArray" is not defined.... why?
2. If OPTION_EXPLICIT is deactiveted, the result is "10"... why?
Look at this:
Code: (Select All)
OPTION _EXPLICIT
DIM myArray%(5)
PRINT UBOUND(myArray%)
the result is "5".
Fine.
Look at this:
Code: (Select All)
OPTION _EXPLICIT
DIM myArray%
PRINT UBOUND(myArray%)
This is less "fine".
1. If OPTION_EXPLICIT is activeted, it says "myArray" is not defined.... why?
2. If OPTION_EXPLICIT is deactiveted, the result is "10"... why?