[fpc-pascal] Assigning pointer address

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Oct 1 13:28:50 CEST 2012



On Mon, 1 Oct 2012, dhkblaszyk at zeelandnet.nl wrote:

>
>
> Hi Tomas,
>
> Thanks for clarifying. I will use PtrUInt to store the
> pointer address in. BTW: the documentation it says not to use PtrInt
> because it's signed and therefore smaller than a pointer (as in max
> value).
>
> Also there seems to be an error in the documentation. On
> http://www.freepascal.org/docs-html/rtl/system/ptruint.html [4] it is
> described that PtrUInt is an alias to DWord. However, it depends on the
> architecture which type it actually is. Could someone please correct the
> docs?

What do you want to see corrected ?

On 32-bit systems, it is a DWord. The docs were generated on such a system,
so you get this definition.

Michael.



More information about the fpc-pascal mailing list