Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pcount equal to Parameter??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00086317
Message ID:
00086507
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform