Two Kinds of Variables
Lexical or “static”
A local variable
References can be made only within the program construct where it is created or bound
Special or “dynamic”
A global variable
References can be made at any time, anywhere
Previous slide
Next slide
Back to first slide
View graphic version