Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zloc works with Locals but not Privates. Wonder why?
Message
De
07/01/2010 10:20:12
 
 
À
07/01/2010 10:14:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01442509
Message ID:
01442624
Vues:
62
>>>>zloc works with Locals but not Privates. Wonder why?
>>>
>>>Here's a comment from zloc script that explain it
>>>
>>>* Look only for LOCAL, PUBLIC, PARAM or LPARAM statements
>>>
>>>You can easily add PRIVATE to the list
>>
>>
>>Yes, easy to fix, but... Why in the world did they leave out Private from the list in the first place?
>>
>>Oversight? I understand that.... I do that all the time.
>>
>>But is there some functional reason of why to leave it out that I do not understand?
>
>I wonder if it has to do with locals and publics getting created by a declaration, and privates not.
>
>Tamar

That could make some sense. I rarely use privates, but when do, I always add the PRIVATE declaration just to bring attention to it. It helps me see those special cases in my app.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform