[fpc-pascal] Printing of Pointer Type
Marco van de Voort
marcov at stack.nl
Fri Jul 18 10:28:49 CEST 2008
> 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 mention) and the work to
> implement and maintain this would probably outweigh the usefulness.
It might also interfere with existing features like writeln(pchar); ?
More information about the fpc-pascal
mailing list