[fpc-pascal] specify variable name with string variable
Ryan Joseph
genericptr at gmail.com
Sun Jul 7 23:11:27 CEST 2019
> On Jul 7, 2019, at 3:58 PM, James Richters <james at productionautomation.net> wrote:
>
> This might sound silly, but is it possible to somehow specify a variable with a string containing the name of the variable?
Does you mean like RTTI so you can get a pointer to a local variable by name? I was actually curious about this recently also, does FPC have local variable RTTI? That would be useful to have actually. I know it exists for classes but not sure about locals.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list