Bug? parser does not detect problematic if x=>0

sorex

Expert
Licensed User
Longtime User
Hello,

The parser doesn't detect this problematic if statement...

B4X:
If x=>0 Then 'should be if x>=0

while the java compiler does...

B4X:
error: illegal start of expression
if (_x=>0) {
       ^
1 error
 
Top