Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A basic thought about LOCAL variables
Message
 
To
29/12/1999 10:48:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00309158
Message ID:
00310099
Views:
43
>Here is a Bitmap with what I think is hard cold evidence of this (it shows the Locals window and Trace window; take not of the value of the combo "Locals for"): http://208.230.170.137/mgh/jimb.bmp
>
>How would you argue against that?

Mike,

I believe we are saying the same thing. A variable has two properties in this area, visibility and scope. Scope defines the lifetime of the variable and visibility defines what routines can address the variable.
<strong>Var Type         Visibility       Scope</strong>
PUBLIC                Everywhere        Creation to release or quit VFP
PRIVATE               Creator and below Creation to Release or creator ends
LOCAL                 Creator only      Creation to Release or creator ends
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform