> On Jul 8, 2019, at 5:27 PM, Sven Barth via fpc-devel > <fpc-devel@lists.freepascal.org> wrote: > > Well, in theory you could use a read only index property that returns a > pointer and a write only index property that takes the type as is. > But overloading only based on the result type is not supported. >
I was thinking more along the lines of making read/write access part of the overloading but that’s kind of pushing it in terms of what overloading means. Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel