>Hi Justok,
>
>They are not quite exactly the same. PARAMETERS() returns the number of parameters passed to the last called procedure or function, but PCOUNT() returns the number of parameters passed to the Current procedure or function.
>
>e.g.
>PROCEDURE Test
>LPARAMETERS t1, t2, t3, t4 && if you passed 1 param in
>
>? PCOUNT() && Prints 1
>? PARAMETERS() && Prints 1
>
>*-- Now call another UDF
>= Test2( "abc", "jhjhgabchgkhgabckjhabc", 2)
>
>? PCOUNT() && Still prints 1
>? PARAMETERS() && Now prints 3
>
>FUNCTION Test2
>LPARAMETERS t1, t2, t3, t4
>
>RETURN
>
>
>Regards
>Mark Hall
Thanks...
Is it possible to KNOW what is the original Variable Name on passing parameter?!
e.g. you call MyFunc(abc)
the Function MyFunc not only KNOW abc value but also know the word 'abc' ?!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.