if intquantity > 0 andalso intquantity < 10 orelse decprice > 20
expression evaluates to
(3>0 and 15.75<10 or 15.75>20)
which, using priority of operations, "and" has a higher precedence than "or",
=>
( (3>0 and 15.75<10) or 15.75>20)
=>
( false or false )
=>
false