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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only