LB Booster
General >> General Board >> Is this a bug? http://lbb.conforums.com/index.cgi?board=general&action=display&num=1448038278 Is this a bug?
Post by Monkfish on Nov 20th, 2015, 3:51pm
Not sure if the following is a bug or intentional:
The following didn't work:
Code:
If a = x and (b and c) then
Had to write the following instead:
Code:
If a = x then if b and c then
Maybe I'm just not supposed to mix logical expressions with bitwise expressions.
Re: Is this a bug?
Post by tsh73 on Nov 20th, 2015, 5:03pm
(b and c) bitwise, say (4 and 6) gives 4 a=x is logical, gives 0 or 1
so (1 and 4) is bitwise 0.
You can write it as Code:
If a = x and (b and c)<>0 then
Re: Is this a bug?
Post by Monkfish on Jan 4th, 2016, 3:18pm