In my workbook Declarations, I have these lines of code:
Later in a Sub I initialize indices as an array:![]()
Please Login or Register to view this content.
In the same Sub I use this array in a For loop:![]()
Please Login or Register to view this content.
However, using a break point on that last line of code reveals that i starts out at a value of 0. i should start out as the lower bound of the indices array, which should be 1 because of the Base Option used in the declarations. Does it fail because indices was not declared as an array?![]()
Please Login or Register to view this content.
If so, is there some way to make indices adhere to the Base Option but not initialize it with successive, single-assignments?
Bookmarks