In the project, the variables section Process_Globals is the inscription:
'These variables can be accessed from all modules.
In fact, the declaration of a variable (Dim Score As Int) is not accessible from another module, where am I wrong?
If you declare Dim Score As Int in the Main module you nedd to add the module name as a prefix to the variable when you want to access it from another module.
In your case : Main.Score = something
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.