Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FreePro & VXB++ design debugging
Message
From
10/09/2013 18:30:43
 
 
To
10/09/2013 18:17:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01582710
Message ID:
01582791
Views:
29
>>Why redefine private scope to local ?
>
>Visual FreePro defines a _caller object which is able to access data in functions on up the caller stack. Private variables are local variables in function, but they are not visible through the _caller object. This allows code executing at a given point to isolate its data from external reference.
>

Maybe a new keyword like "Hidden", which is known from properties is better than redefining private in memvars. Any ported stuff will throw errors in the compiler, not hard to trace behaviour differences in the runtime if one instance is overlooked.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform