Since the code is converted to C++, i guess the for next loop is converted to this:
for(int temp=1; temp < 4; temp++){}
The variable temp is then only accessible in the for/next - scope.
That is not an error.
The error is trying to use temp outside the for/next loop.
for(int temp=1; temp < 4; temp++){}
The variable temp is then only accessible in the for/next - scope.
That is not an error.
The error is trying to use temp outside the for/next loop.