Bug? Compiling Error on B4A V7 - For with STEP variable{Solved}

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All

I have just updated to V7 B4A and have the following compiling error on existing code. Can someone please tell me what the error report really means.

This is code section flagged as an error, the complete project is to large to upload.
B4X:
'Reload "Recording" array from Recording2
        For FNM = 0 To 15
            For STEPS = 0 To 99                                        'This is line 353
                For DATA2 = 0 To 1
                    Recording(FNM,STEPS,DATA2) = Recording2(FNM,STEPS,DATA2)
                Next
            Next
        Next


This is the error report.

B4X:
B4A version: 7.00
Parsing code.    (0.29s)
Compiling code.    (0.36s)
Compiling layouts code.    (0.03s)
Organizing libraries.    (0.00s)
Generating R file.    (0.14s)
Compiling generated Java code.    Error
B4A line: 353
For STEPS = 0 To 99 
javac 1.8.0_65
src\b4a\configulator_calculator\main.java:1368: error: cannot find symbol
for (;(step197 > 0 && _step197s <= limit197) || (step197 < 0 && _step197s >= limit197) ;_step197s = ((int)(0 + _steps + step197))  ) {
                      ^
  symbol:   variable _step197s
  location: class main

Any clues would be appreciated, I can't see anything wrong with line 353.

Regards Roger
 
Top