Re: [fpc-pascal] Overloading the increment operator (+=)

2011-09-10 Thread Marcos Douglas
2011/9/10 Flávio Etrusco > > Hello, > If write a declaration without result it complains about invalid > syntax; if I add a result it says "impossible operator overload". > Does FPC allow overloading the += operator? If not, why? You do not need overload the += operator, just do it in := operator

[fpc-pascal] Overloading the increment operator (+=)

2011-09-10 Thread Flávio Etrusco
Hello, If write a declaration without result it complains about invalid syntax; if I add a result it says "impossible operator overload". Does FPC allow overloading the += operator? If not, why? Best regards, Flávio ___ fpc-pascal maillist - fpc-pascal