>Pat,
>
>It does, but the return value of PARAMETERS() will be affected by subsequent calls to other UDFs. This is the way it has worked since dBASE IV, and maybe before. It's a pretty useless function in the event driven environments we can create now. PCOUNT() on the other hand
always works so just use it instead. I don't know how Clipper chose to impliment the function but FoxPro does provide exact compatabilty to dBASE code for this function.
>
>>Yes indeed but still PARAMETERS() should return the number of parameters that are passed, excluding these initialized to .F.
>>
>>But the PCOUNT() proved to work up to now.
Thanks again for the accuracy David. PCOUNT() in Clipper just works as PCOUNT() in VFP. I have turned my code to make use of PCOUNT() and didn't get nay problem up to now.
Pat