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

Reply via email to