Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interview question
Message
De
21/05/2012 09:51:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01543887
Message ID:
01543920
Vues:
65
>>>It is not a clean solution.
>>>After subprocedure header, and before private variable is declared, public variable is not hidden and it is accessible.
>>
>>Then put it in the header: name your parameter the same as the public variable. Of course, you will completely confuse yourself and anyone looking at the code, but you won't be able to touch or see PubVar :).
>
>You are very close. But you use the name of the variable in subroutine header. So, how to do it without even mentioning PubVar in the subroutine?

Now I'm very far... even using "local all like *" leaves you open between the header and that line.

Fabiooooo! What's he talking about?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform