[Pas2js] how to access variables between various procedures

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



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

> aaI had to give it up The fight with integer variable. So I will simply use
> windowalert which will inform The user about number of right answers from
> 36. I had A dream to create text block with this info, but when I see how is
> not easy to manipulate with variables across The procedures. I will have to
> experience Pascal summer time sadness thanks to variables access across The
> procedures.

If you can post your program so it does 99% of what you need, 
then someone her can maybe modify it so it does what you want.

>From what you describe, it should be trivial to accomplish, 
but from mails without actual code I cannot see where your problem is.

Michael.


More information about the Pas2js mailing list