Roger Daley Well-Known Member Licensed User Longtime User May 25, 2017 #1 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. Code: '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. Code: 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
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. Code: '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. Code: 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
Erel B4X founder Staff member Licensed User Longtime User May 25, 2017 #2 It is indeed a bug. It will happen when the iterator variable includes the word 'step'. It is fixed for the next update. For now you will need to change the variable name.
It is indeed a bug. It will happen when the iterator variable includes the word 'step'. It is fixed for the next update. For now you will need to change the variable name.
Roger Daley Well-Known Member Licensed User Longtime User May 25, 2017 #3 Thanks Erel, Just grateful that for once it wasn't me. Regards Roger
Erel B4X founder Staff member Licensed User Longtime User May 25, 2017 #4 This issue is fixed in v7.01: https://www.b4x.com/android/forum/threads/b4a-v7-01-has-been-released.79908/page-2#post-506173
This issue is fixed in v7.01: https://www.b4x.com/android/forum/threads/b4a-v7-01-has-been-released.79908/page-2#post-506173