Le 02/05/2021 à 23:42, James Richters via fpc-pascal a écrit :
But I’m thinking I didn’t really define the variable the way it would normally be done with Lazarus.
Just for notice: classes and objects are not particular to Lazarus, it's plain Object Pascal, understood by Freepascal and Delphi whatever the context( console, graphic/Lazarus or javascript/pas2js)
Is there a better way I should have defined this variable?
Defining it in public in TText_to_PDF is a good idea.
(Sorry, I've renamed a lot of things)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to