Lesson 5 - Scope
Outcome of this Lesson
Learn about the three different scopes you can choose.
Public, Module, Procedure / Subroutine
Public = Variable that can be used in any of your Subroutines (even in different code modules)
Module = Variable that can be used in any Subroutine in the same code module
Procedure = Variable that can only be used in the Subroutine it is declared
Download the workbook
After you watch the video, I recommend you open the example workbook.
And play around with declaring constants.
You can get the workbook at the beginning of Module 5 (Downloads).
Refer to the PDF Handout
For a handy summary of the key concepts, look at the Module 5 PDF Handout.
You can get the PDF Handout at the beginning of Module 5 (Downloads).
Write your comments and feedback below
- If you have questions or comments about this lesson, write it in the section below.
- Alternatively you can email the instructor Victor at [email protected]
0 comments