Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A basic thought about LOCAL variables
Message
 
À
29/12/1999 10:48:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00309158
Message ID:
00310099
Vues:
41
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform