I kind of confusing by a post from a web site about this topic of local vs. global variables interplay in this trivial demo example. Here is the co
local
global