Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
News: VFP support dynamic parameters names
Message
 
 
À
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:
01023478
Vues:
15
Looks like a good way to make code unredable.

>
>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     && this hide the PUBLIC anotherVariable
>
>anotherVariable = 2	&& this write 2 into a local variable
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform