Mattias Gaertner wrote:
> On Sat, 20 May 2006 22:50:17 +0200 (CEST)
> [EMAIL PROTECTED] (Marco van de Voort) wrote:
> 
>>>   i:=PtrInt(p1)-PtrInt(p2);
>> i:=prtint(p1-p2);
> 
> Thanks. 
> So the trick to get convert a Pointer to an ordinal is to add/subtract
> something. For example:
> i:=PtrInt(p1-nil);
> 
> Is there a better trick?

Let me ask the other way round: what do you want to achieve :)?

> What type has Pointer-Pointer?
> 

PtrInt
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to