Testing FOR/NEXT Loops
======================

Test 1: Basic FOR loop (1 TO 5)
 1  2  3  4  5 

Test 2: FOR loop with STEP 2 (0 TO 10 STEP 2)
 0  2  4  6  8  10 

Test 3: Negative STEP (10 TO 1 STEP -2)
 10  8  6  4  2 

Test 4: STEP with decimal (0 TO 2 STEP 0.5)
 0  0.5  1  1.5  2 

Test 5: Nested loops (2x3 grid)
( 1.0, 1.0)( 1.0, 2.0)( 1.0, 3.0)
( 2.0, 1.0)( 2.0, 2.0)( 2.0, 3.0)

Test 6: Loop variable value after loop
I after loop = 5 (should be 6)

Test 7: Single iteration (5 TO 5)
I = 5 

Test 8: No iterations (10 TO 1)
Iterations: 1 (should be 0)

Test 9: Sum 1 to 10
Sum = 55 (should be 55)

Test 10: Triple nested (2x2x2)
 1  1  1  1  1  2  1  2  1  1  2  2  2  1  1  2  1  2  2  2  1  2  2  2 

FOR/NEXT tests complete!

