[fpc-pascal] Printing of Pointer Type
Vinzent Höfler
JeLlyFish.software at gmx.net
Fri Jul 18 00:20:34 CEST 2008
Mattias Gaertner wrote:
> 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.
My mistake. As I spend most of my time designing the things first, so
that debugging (especially at such a level) is reduced to a minimum, I
might not have noticed yet that printing pointer values actually adds
value to a delivered application.
Honestly, in the rare cases where I really need to do such things, the
amount of typing work to add the typecast is negligible.
Vinzent.
More information about the fpc-pascal
mailing list