I’m curious how use classes together with published properties would work, is there a sample of how to use this somewhere?
James From: fpc-pascal <[email protected]> On Behalf Of Sven Barth via fpc-pascal Sent: Monday, July 8, 2019 5:31 PM To: FPC-Pascal users discussions <[email protected]> Cc: Sven Barth <[email protected]> Subject: Re: [fpc-pascal] specify variable name with string variable James Richters <[email protected] <mailto:[email protected]> > 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
_______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
