Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual FreePro & VXB++ design debugging
Message
De
10/09/2013 18:30:43
 
 
À
10/09/2013 18:17:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01582710
Message ID:
01582791
Vues:
27
>>Why redefine private scope to local ?
>
>Visual FreePro defines a _caller object which is able to access data in functions on up the caller stack. Private variables are local variables in function, but they are not visible through the _caller object. This allows code executing at a given point to isolate its data from external reference.
>

Maybe a new keyword like "Hidden", which is known from properties is better than redefining private in memvars. Any ported stuff will throw errors in the compiler, not hard to trace behaviour differences in the runtime if one instance is overlooked.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform