Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining Parameters
Message
De
01/07/1998 08:47:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00111505
Message ID:
00113325
Vues:
42
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform