On 08/04/2019 21:39, Bart wrote:
1.
Is operator overloading possible at all in MacPas mode (does it need
some modeswitch)?

It's not possible.

2.
If this is not the case, then why forbid this particular operator
overload at all?

You can use a unit that is compiled in e.g. mode ObjFPC in a unit compiled in MacPas mode, and then the latter will use the overloaded operators from the former.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to