While this behavior is absolutely logical, as a normal procedure could
not use a property in that way.
OTOH just as a courtsey, the _builtin_ procedures inc() and dec() could
be implemented in a way that allows for doing it.
-Michael
___
fpc-devel
A question if I may, leading on from
http://bugs.freepascal.org/view.php?id=25440
- inc(x)/dec(x) with range checking enabled are optimized with
taking address of x.
Is that why Inc() and Dec() can't be applied to properties, or are there
other issues?
They were using untyped address,
On 20.12.2013 22:02, Mark Morgan Lloyd wrote:
A question if I may, leading on from
http://bugs.freepascal.org/view.php?id=25440
- inc(x)/dec(x) with range checking enabled are optimized with
taking address of x.
Is that why Inc() and Dec() can't be applied to properties, or are there
other
Sven Barth wrote:
On 20.12.2013 22:02, Mark Morgan Lloyd wrote:
A question if I may, leading on from
http://bugs.freepascal.org/view.php?id=25440
- inc(x)/dec(x) with range checking enabled are optimized with
taking address of x.
Is that why Inc() and Dec() can't be applied to properties,
On 21.12.2013 02:11, Mark Morgan Lloyd wrote:
Sven Barth wrote:
On 20.12.2013 22:02, Mark Morgan Lloyd wrote:
A question if I may, leading on from
http://bugs.freepascal.org/view.php?id=25440
- inc(x)/dec(x) with range checking enabled are optimized with
taking address of x.
Is that why