Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
News: VFP support dynamic parameters names
Message
De
15/06/2005 09:41:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
News: VFP support dynamic parameters names
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01023471
Message ID:
01023471
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform