Re: [fpc-pascal] Printing of Pointer Type

2008-07-18 Thread Marco van de Voort
> 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

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Vinzent Höfler
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.

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Johann Glaser
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)

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread 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) and the > > > work to implement and maintain this would probably outweigh the > > > usefu

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Peter Vreman
>> 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

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Vinzent Höfler
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

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread leledumbo
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-

Re: [fpc-pascal] Printing of Pointer Type

2008-07-17 Thread Jonas Maebe
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

[fpc-pascal] Printing of Pointer Type

2008-07-16 Thread leledumbo
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