Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
News: VFP support dynamic parameters names
Message
De
15/06/2005 10:09:54
 
 
À
15/06/2005 09:41:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01023471
Message ID:
01023490
Vues:
13
So, you're still learning each day, aren't you? :)
>
>CLEAR
>
>PUBLIC anotherVariable
>var1 = 'anotherVariable'
>anotherVariable = 1
>
>? procName(var1)
>? anotherVariable
>
>PROCEDURE procName
>LPARAMETERS parName,(m.parName)	&& this is a dynamic parameter renaming
>? m.parName,anotherVariable     && and hide the PUBLIC anotherVariable
>
>anotherVariable = 2	&& this write 2 into a local variable
>
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform