May 25, 2022, 05:32:19 PM


IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!

4. Global Variables

Started by LarryMc, October 13, 2014, 10:46:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


If you have never used a Project then you are probably only aware of two variable scopes.

Local - the variable exist only inside the subroutine in which it is created and used. It can not be accessed from outside the subroutine.

Global - the variable is created outside of a subroutine and can be accessed from anywhere in the source file in which it is created.

With a Project we now have a 3rd scope for variables:

Project Global -The variable is defined in such a way that it can be accessed from any of the source files in the Project.

This completes 4. Global Variables
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library