Bug? Wrong error indication with incorrect IF Then


New Member
I'm using B4J 6.30 with the default libraries.

When using an IF Then statement, but leaving the Then part out, the IDE will give an End sub is missing error when you try to run it.


Sub Test
If a<5 --> It should report an error here, but it doesn't
End If
End Sub --> It will report that this line is missing while it's actually not

Behaviour should be reporting an error on the If statement.

It took me quit a while to figure it out due to the wrong error indication.