Just found. Pretty sure it's rather dark corner (I would never writhe this), but I leave it to you to decide if it's an LB bug or what.
Code:
print "conventional nested if then else if then else"
for x = 0 to 1
for y = 0 to 1
print x;" ";y;" ";
if x then print 1 else if y then print 2 else print 3
next
next
print "now, if if then else (?)"
for x = 0 to 1
for y = 0 to 1
print x;" ";y;" ";
if x then if y then print 2 else print 3
next
next
LB/JB:
Code:conventional nested if then else if then else
0 0 3
0 1 2
1 0 1
1 1 1
now, if if then else (?)
0 0 3
0 1 3
1 0 1 1 2
LBB 2.40:
Code:conventional nested if then else if then else
0 0 3
0 1 2
1 0 1
1 1 1
now, if if then else (?)
0 0 3
0 1 3
1 0 3
1 1 2