[fpc-pascal] Feature proposal: function-based assignment operators

Benito van der Zander benito at benibela.de
Thu Mar 28 18:25:39 CET 2013


>
> I would use Pascal (not C) and write
>
> inc(array1[array2[i]],42);

well, that won't help with min

On 03/28/2013 06:14 PM, Jürgen Hestermann wrote:
> Benito van der Zander wrote:
>>> Luckily this can be written as
>>>   array1[array2[i]] += 42;
>>>
> I would use Pascal (not C) and write
>
> inc(array1[array2[i]],42);
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list