Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A basic thought about LOCAL variables
Message
De
28/12/1999 23:36:37
 
 
À
28/12/1999 23:33:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00309158
Message ID:
00309704
Vues:
32
>You are right, but the different behavior comes from the different calling environments. While Jim and Ed say that an undeclared variable is, by default, private when it is created. So, if there's no other variable in scope when an undeclared variable is assigned, a new private var is created. The "created" word is the key in this thread! :)
>
>Vlad

I agree! :) Created is the key here. I was missing Jim's distinction between declaring AND assigning vs. just declaring.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform