>>lnParms = aparameters(laParameters) >>for lnI = 1 to lnParms >> =messagebox(laParameters[m.lnI,1] + " value: " + transform(laParameters[m.lnI,2])) >>next >>>
>MyFunction( 1, "2", 3 ) > >Function MyFunction( tx1, tx2, tx3 ) > >For q=1 to Pcount() > ? "tx"+Transform(q) +" = "+ Transform( Evaluate( "tx"+Transform(q) ) ) >Next >In your case you know name of the parameters in advance. I want to make it generic, e.g. it should not rely on specific naming convention. In C we can access an array of parameters. It would be nice to have the same in VFP.