Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining Parameters
Message
From
01/07/1998 08:47:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00111505
Message ID:
00113325
Views:
41
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform