Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display parameters passed?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01012215
Message ID:
01012243
Vues:
31
Hi, Nadya.

>I wanted to display values of all passed parameters in a program. Something like:
>
>lnParms = aparameters(laParameters)
>for lnI = 1 to lnParms
>  =messagebox(laParameters[m.lnI,1] + " value: " + transform(laParameters[m.lnI,2]))
>next
>
Not nice, but... what about:
MyFunction( 1, "2", 3 )

Function MyFunction( tx1, tx2, tx3 )

For q=1 to Pcount()
	? "tx"+Transform(q) +" =  "+ Transform( Evaluate( "tx"+Transform(q) ) )
Next
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform