Concept Flow - Scope of variables
Start of program
Declare variable in main scope
Enter inner block
Declare variable in inner block
Use variables
Exit inner block
Try to use inner block variable (error)
End of program
This flow shows how variables declared inside blocks are only usable within those blocks, while variables declared outside are accessible inside.