Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wishlist???
Message
From
02/09/1999 17:44:59
 
 
To
02/09/1999 14:31:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00260725
Message ID:
00260874
Views:
14
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...
Previous
Reply
Map
View

Click here to load this message in the networking platform