Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A basic thought about LOCAL variables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00309158
Message ID:
00309262
Vues:
20
>Philippe,
>
>You are mistaken, variables are by default PRIVATE, they must be declared LOCAL.

It's clear now. Thanks to all.

The only information about defalut status as private in fox help is this one:


private variable (defined)


A variable that is released when the routine it is defined in terminates. Private variables are the default in Visual FoxPro and require no special keywords to define. However, they can be scoped with the PRIVATE keyword if there is already a variable of the same name at a higher level. Contrast local variable, public variable.


I didn't find anymore clear information about the topic.
Kind regards

Philippe RIONDEL,
a French man in Montreal
=======================================================

Who tries can sometimes be wrong, who doesn't is always

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform