Tuesday, April 26, 2011

Example of Variable Scope



Procedure Routine1 has access to X, Y, and A (loses value upon termination)
Procedure Routine2 has access to X, Y, and B (retains value)
Procedure Routine3 has access to X, Z, and C (loses value)

No comments:

Post a Comment