>You could also use the Parameters() Fn. Returns the number parameters you were passed. Only more usefull than checking TYPE("") if you're expecting a logical parameter.
MyFunc(1,2,,,5)
PARAMETER tnParm1,tnParm2,tnParm3,tnParm4,tnParm5
Will PARAMETERS() be useful in this case? Maybe not.
As for the type logical, I never use it. When I need to pass a flag, I use the 1 or 0.