On Tuesday 11 December 2007 10:04, Michael Schnell wrote: > Andrew Haines wrote: > > Hi, > > > > > > Is it possible to make this work: > > > > if X > 3 or < 10 then ... > > > > of course it would be shorthand for: if (X>3) or (X<10) then.... > > The "or" operator is stronger than the "<" operator by definition. > This can't be changed.
Neither needs to be. There is no operand, but two operators ("or <") in the second expression, so you wouldn't even be able to apply precedence rules. Vinzent. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel