Code like the following was working prior to updating the esp32 board to v3.0.1 in the Arduino board manager:
(see https://www.b4x.com/android/forum/t...h-arduino-esp32-board-v3-0-1-selected.161681/)
It now fails.
It does work if the line 'Case (B + C)' if changed to 'case 3'
I don't know if that is to be expected or it's a bug?
There is no warning or error shown before compilation.
(see https://www.b4x.com/android/forum/t...h-arduino-esp32-board-v3-0-1-selected.161681/)
B4X:
Public Sub Test(A As Int)
Dim B As Int = 1
Dim C As Int = 2
Select A
Case B '1
Case C '2
Case (B + C) '3 - CAUSES ERRORS IN COMPILATION
Case Else
End Select
End Sub
It does work if the line 'Case (B + C)' if changed to 'case 3'
I don't know if that is to be expected or it's a bug?
There is no warning or error shown before compilation.