[fpc-pascal] precedence "is" and "and"
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Dec 8 21:49:52 CET 2018
On Sat, 8 Dec 2018 21:23:57 +0100
Marco van de Voort <fpc at pascalprogramming.org> wrote:
> Op 2018-12-08 om 20:38 schreef Mattias Gaertner via fpc-pascal:
> > According to the docs, the "is" operator is fourth level, the "and"
> > is second level, so the "and" must be computed before the "is". But
> > it seems fpc treats "is" and "and" as same level:
>
> logical (boolean) vs bitwise AND difference?
I don't see where the bitwise should be involved here. There is no
integer.
The docs do not mention a different precedence lvl for logical/bitwise
"and".
It does not explain difference between "and" and "or".
Mattias
More information about the fpc-pascal
mailing list