You are right.
AND can be both bitwise and Boolean. It depends on what you have as its arguments. In fact, it is also possible to have "different" ANDs in the same Block!
IF [[[#1 AND #2] LT 100] AND [#1 LT #2]] GOTO 10;
Of course,parameter 6000#0 should be 1 to allow use of AND as a Boolean function in a conditional statement.
Incidently, arithmetic 0 and 1 are not equivalent to Boolean FALSE and TRUE, as believed by Peter Smid.
Last edited by sinha_nsit; 11-08-2009 at 10:16 PM.
|