Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wishlist???
Message
De
02/09/1999 17:44:59
 
 
À
02/09/1999 14:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00260725
Message ID:
00260874
Vues:
15
Hi Keith,

>4) Finally, VFP now initializes empty parameters to .F. This makes
>checking for non-passed parameters a little more difficult than it
>could be. Offering something like...

Right On! I've got some optional logical parameters that cause me some trouble, ie:

If the param is true its true, otherwise I assume its not sent and use the default value I store in a property instead. Well, what if I pass a .f. and the default is .t., I get the wrong outcome.

There are someways around this though: use a numeric value instead, use pcount(), or pass a parameter object which contains the correct values, ect...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform