Variable scope
Can the scope of a variable be narrower than a single event handler. For example, could you have a variable that was local to a loop or local to an if statement within an event handler subroutine?
Write a small test program to justify your answer this question.