[fpc-pascal] Get variable name at runtime
Darius Blaszyk
dhkblaszyk at zeelandnet.nl
Tue Mar 5 21:28:25 CET 2013
Here's why :)
Unfortunately pascal macro's are rather limited compared to C. I know I know, you could potentially open up a can of worms, but sometimes more control is required.
Darius
On Mar 5, 2013, at 5:07 PM, Sven Barth wrote:
> Am 05.03.2013 16:41, schrieb Darius Blaszyk:
>> 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.
> No. I had once asked some time ago for a compiler intrinsic which returns the name of an identifier, but I was told "why would you need this?!"...
>
> 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