If you're using Option _Explicit, a _DEFINE isn't enough to declare a variable -- they have to be expressly dmmed as whatever type you wish them to be.
Change that line to the following instead:
DIM AS _UNSIGNED INTEGER I, J, K
Note 2 that QBASIC and QB64 are neither one CaSe SeNsItIve...
I or i, it doesn't matter as far as variable names go. The IDE just happens to choose uppercase or lowercase to match whatever format you apply first in your code for asthetic reasons. As for storing values or executing code? There's no difference at all between Foo, FOo, FOO, fOO, foO, or any other mixture of upper/lowercase version of FOO.
Change that line to the following instead:
DIM AS _UNSIGNED INTEGER I, J, K
Note 2 that QBASIC and QB64 are neither one CaSe SeNsItIve...
I or i, it doesn't matter as far as variable names go. The IDE just happens to choose uppercase or lowercase to match whatever format you apply first in your code for asthetic reasons. As for storing values or executing code? There's no difference at all between Foo, FOo, FOO, fOO, foO, or any other mixture of upper/lowercase version of FOO.