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.
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.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal