Advanced PowerBuilder

HomePrevious Lesson: Customizing Toolbars
Next Lesson: Local Variables

Scoping Variables

Variables can be declared at four different places, depending on the scope you wish to associate with them. A variable's scope indicates its lifetime and the influence it can have over the rest of the application.

There are four levels of scope:

HomePrevious Lesson: Customizing Toolbars
Next Lesson: Local Variables