[Pas2js] how to access variables between various procedures

Michael Van Canneyt michael at freepascal.org
Tue Sep 15 12:03:45 CEST 2020



On Tue, 15 Sep 2020, Mgr. Janusz Chmiel wrote:

> Oh. So no simply use an integer variable what I have tried to accomplish.
> Thank you very much for yours answer.

You can always introduce a global variable a in your unit,
but this will most likely give problems later on. 
I would not recommend it.

Michael.


More information about the Pas2js mailing list