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

Florian Klämpfl florian at freepascal.org
Thu Aug 5 22:23:19 CEST 2010


Am 05.08.2010 22:19, schrieb _-jane-_ at web.de:
> Hello everybody,
> 
> I would like to propose an enhanced replacement for the special assignment operators += -= *= and /= :
> More pascal-like would be constructs of the form "operator :=" such as
>   a + := 1;
>   a div := 3;
>   a or := b;
>   a xor := 3;
>   a << := 1;
> 
> Together with my prior proposal of multiple assignments there could be stuff like below as well:
>   a,b + := c+d;
>   a,b << := 1;

And you think this is simply to read?



More information about the fpc-devel mailing list