[fpc-pascal] Printing of Pointer Type
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jul 17 21:52:08 CEST 2008
On Thu, 17 Jul 2008 10:45:22 +0200
"Vinzent Höfler" <JeLlyFish.software at gmx.net> wrote:
> leledumbo <leledumbo_cool at yahoo.co.id>
> >
> > 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 pointer values in most cases is a pure
> debugging aid and nothing really useful.
Well. Since the biggest time of programming is spent on debugging I
guess, there is more need for a PtrToStr than for FloatToStr.
lcl users can simply use dbgs().
Mattias
More information about the fpc-pascal
mailing list