[fpc-pascal] += property bug?

Bart bartjunk64 at gmail.com
Sun Aug 11 18:55:33 CEST 2019


On Sun, Aug 11, 2019 at 6:33 PM Ryan Joseph <genericptr at gmail.com> wrote:

> begin
>   d.get += 10;  // ERROR: Variable identifier expected
> end.

AFAIK you cannot do that to a property (not even if it maps to a field).
Delphi does not allow it either IIRC.

-- 
Bart


More information about the fpc-pascal mailing list