Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing Variable
Message
De
29/07/1998 01:44:53
 
 
À
29/07/1998 01:18:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00122209
Message ID:
00122213
Vues:
18
If the variable doesn't exist at a higher level, than it defaults to PRIVATE. If it exists at a higher level, than that variable it is used.

IMHO, it's better to explicitly declare all local variables as LOCAL.

Vlad

>If I don't specify whether a variable is public or local, does it default to local?
>
>In otherwords is:
>
>LOCAL lcVariable
>lcVariable=this.value
>
>the same as just defining
>
>lcVariable=this.value
>
>If not, what are the differences?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform