For I = 0 to 5
   Dim j as Integer
   J = I
Next
Msgbox J

Example 1: Variable scope declaration issues.

Back to Article