Bug? Parser misbehaving

Roycefer

Well-Known Member
Licensed User
Longtime User
Fun quiz: spot the parser misbehavior in the attached picture.
bug1.PNG


I spotted this in B4A but confirmed that it also happens in B4J. I haven't checked B4s R and i.
 

Roycefer

Well-Known Member
Licensed User
Longtime User
B4X:
If a>b Then And c>d Then
   ....
End If

When you do an If-Then with two "Then"s in the If line, the parser doesn't mark it as wrong.
 
Top