[fpc-pascal] specify variable name with string variable
Sven Barth
pascaldragon at googlemail.com
Mon Jul 8 23:31:17 CEST 2019
James Richters <james at productionautomation.net> schrieb am Mo., 8. Juli
2019, 22:44:
> SetStoragePinByName('Ini_Opto_Enable_Positive_Pin', True) ;
>
> And it would somehow get the value of 'Ini_Opto_Enable_Positive_Pin
>
That indeed sounds like something where you could use classes together with
published properties. At least if you're willing to spend a bit of effort.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190708/e5b0a73f/attachment.html>
More information about the fpc-pascal
mailing list