[fpc-devel] Proposal: Enhanced replacement for assignment operators

Marco van de Voort marcov at stack.nl
Fri Aug 6 22:11:00 CEST 2010


In our previous episode, Alexander Klenin said:
> in assignment operator is a good idea ("+:=" vs "+=").
> Unfortunately, it is too late for that.
> Another interesting but unrealistic option is something like
> a :=[+] b;
> 
> I can even concede to use a function-like syntax, as long as it is
> consistent between
> all operations:
> Reduce(a, +, b);

Why not RPN? You could signal an RPN expression, create local stacks etc.



More information about the fpc-devel mailing list