On 04 Oct 2013, at 15:43, Marco van de Voort wrote:
In surprise that it compiles. If buffer is an (untyped) pointer,
buffer^ is
a byte afaik
No, it's "untyped" (void). Just like an untyped var/out parameter,
which you can also cast to anything and assign things to.
(just sizeof() it).
That will return 0.
You cast that byte to currency and then
use it as lvalue?
That is no problem.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal