On 22/11/2011 13:09, michael.vancann...@wisa.be wrote:


On Tue, 22 Nov 2011, Rainer Stratmann wrote:


Once more: the name in the debug message is totally irrelevant.
afaik debugging was not the initially mentioned purpose. Streaming to a file was. That already exists, see last line.

I would fire anyone RELYING on that.
Are you sure that you are objective in this diskussion?

As much as anyone else in this discussion ? :-)

Just NameOfVar(x) is indeed not very useful.

But there where hints what people would also want.
- The Name of a variable a pointer is pointing to (or that was given by the callee for a param)
- looping through a list of variables

That would require a list of all variables and there names. So the implementation cost of the feature would be a lot higher.

And as I already wrote, why re-invent the wheel? Use published properties of an object, instead of variables. They have RTTI, so they can already do all of this.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to