Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable Scoping
Message
From
23/12/2003 15:25:04
 
 
To
23/12/2003 15:23:33
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00861687
Message ID:
00861733
Views:
32
>> a public var get's hidden is if you pass it by reference into a procedure or function
>
>This is an insidious (and rather silly) bug, and as far as I can see it is the only way how a global var can be masked out of existence (rather than hidden by symbols with the same name that are closer in scope).
>
>I think there was a whole thread devoted to this bug quite recently, but as I am a non-paying parasite the search feature is disabled and I cannot provide a direct link.

It's exactly the same thing (or at least very similar). Look at what happens in the debugger, and pause in the called routine and do a DISPLAY MEMORY from the command window.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform