[fpc-pascal] Get variable name at runtime

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Tue Mar 5 16:41:39 CET 2013


Is there any way macro's could help in this respect? I'm looking for an way to write the variable name and value to screen at runtime.

Darius



On Mar 4, 2013, at 10:05 PM, Sven Barth wrote:

> Am 04.03.2013 14:39, schrieb dhkblaszyk at zeelandnet.nl:
>> Hi,
>> 
>> How can I retrieve a variable name at runtime? I know about RTTI on classes, what about simple type variables?
> 
> It's not possible.
> 
> Regards,
> Sven
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list