Den 21-11-2011 13:56, Rainer Stratmann skrev:
Is it possible to get information of the name of a var?

For Example.

var
  counter : longint;
  varname : shortstring;

varname := nameofvar( counter );

The content of varname then is 'counter'.
It would most likely be very easy to implement, but what is the need?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to