>how to find the datatype of a parameter in a function
>
>
> i used type() function , but it takes only character expression as argument . if the parameter passed is numeric then type mismatch occurs , if the parameter is string if I use type(str()) then type mismatch occurs but solves the numeric parameter.
>
Try:
LPARAMETER uMyParameter
cVarType = TYPE('uMyParameter')