Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pcount equal to Parameter??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086317
Message ID:
00086507
Views:
30
>Does 2 functions the same!?
>
>Are there any same meaning functions with different name in VFP??
>Of cos, the reason is for backward compilable!!

The reason that there are these two functions is for compatibility with dBase. Prior to VFP (in other words FPW 2.x), there was only PARAMETERS(). PCOUNT() was added for compatibility. I still tend to use PARAMETERS(), mostly because I have to work in both FPW and VFP. If you need to parameter count, the only thing you have to worry about is making sure that the function is evaluated prior to any other function call.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform