[fpc-pascal] Untyped var params
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Sat Jan 7 21:01:11 CET 2017
On Sat, Jan 7, 2017 at 2:37 PM, Andrew Hall <andrew.hall at shaw.ca> wrote:
> If you cast your “something” to a typed pointer, the compiler will do the
> work for you in the usual way:
>
> PDouble(something)^ := myDouble;
>
or rather
PDouble(@something)^ := myDouble;
?
thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170107/76e9e14c/attachment.html>
More information about the fpc-pascal
mailing list