Mike,
That sums it up pretty nicely. xBase (not just Fox), is very "loose" when it comes to the scoping of variables. In most other languages you have to declare the the scope beyond the local code. In xBase, it's the other way round.
George
Ubi caritas et amor, deus ibi est