> On 17 Jul 2008, at 07:38, leledumbo wrote:
>
> > Currently, the only way to print Pointer is to use SysUtils.Format
> > or by
> > typecasting it to PtrUInt first. Why not let it possible to print it
> > directly? Any good reason for not allowing users to do it?
>
> Because there are easy ways
Mattias Gaertner wrote:
On Thu, 17 Jul 2008 10:45:22 +0200
"Vinzent Höfler" <[EMAIL PROTECTED]> wrote:
leledumbo <[EMAIL PROTECTED]>
Jonas Maebe-2 wrote:
Because there are easy ways around it (as you mention) and the
work to implement and maintain this would probably outweigh the
usefulness.
Hi!
Am Donnerstag, den 17.07.2008, 21:52 +0200 schrieb Mattias Gaertner:
> On Thu, 17 Jul 2008 10:45:22 +0200
> "Vinzent Höfler" <[EMAIL PROTECTED]> wrote:
>
> > leledumbo <[EMAIL PROTECTED]>
> > >
> > > Jonas Maebe-2 wrote:
> > > >
> > > > Because there are easy ways around it (as you mention)
On Thu, 17 Jul 2008 10:45:22 +0200
"Vinzent Höfler" <[EMAIL PROTECTED]> wrote:
> leledumbo <[EMAIL PROTECTED]>
> >
> > Jonas Maebe-2 wrote:
> > >
> > > Because there are easy ways around it (as you mention) and the
> > > work to implement and maintain this would probably outweigh the
> > > usefu
>> Because there are easy ways around it (as you mention) and the work to
>> implement and maintain this would probably outweigh the usefulness.
>>
> Yes, it's easy but uncomfortable and needs more typing.
You can use hexstr() to convert the pointer to a hexadeciaml number:
var p: pointer;
begin
leledumbo <[EMAIL PROTECTED]>
>
> Jonas Maebe-2 wrote:
> >
> > Because there are easy ways around it (as you mention) and the work to
> > implement and maintain this would probably outweigh the usefulness.
> >
> Yes, it's easy but uncomfortable and needs more typing.
Well, sure, but printing
Jonas Maebe-2 wrote:
>
> Because there are easy ways around it (as you mention) and the work to
> implement and maintain this would probably outweigh the usefulness.
>
Yes, it's easy but uncomfortable and needs more typing.
--
View this message in context:
http://www.nabble.com/Printing-of-
On 17 Jul 2008, at 07:38, leledumbo wrote:
Currently, the only way to print Pointer is to use SysUtils.Format
or by
typecasting it to PtrUInt first. Why not let it possible to print it
directly? Any good reason for not allowing users to do it?
Because there are easy ways around it (as you m
Currently, the only way to print Pointer is to use SysUtils.Format or by
typecasting it to PtrUInt first. Why not let it possible to print it
directly? Any good reason for not allowing users to do it?
--
View this message in context:
http://www.nabble.com/Printing-of-Pointer-Type-tp18501912p1850