[fpc-pascal] Operator precendence of ^

Maël Hörz mh-nexus at web.de
Sun Mar 15 15:07:53 CET 2020


I read the documentation on operator precedence:

But I could not find any mention of the derefence operator ^.

How does it fit within the order given in the link above?

I also wonder how operators are determined.

For example
would be one operand in an expression such as:

Parent.AnotherParent.Items[2] + 10

But what is the grammar/rules for determining what tokens belong to a
complex operand, such as "Parent.AnotherParent.Items[2]"?

Best regards,
Maël Hörz

More information about the fpc-pascal mailing list