Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numerical versus logical
Message
From
04/02/2002 21:50:01
 
 
To
04/02/2002 17:46:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615128
Message ID:
00615210
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
Robert,

One would think that a failure from a UDF would trigger an Error Routine based on a defined error number... therefore I would return a logical >after< the Error is triggered... seems to me a UDF which returns a 'value' by default would return, for instance, a '0' if the process failed for some logical reason (like trying to deduct an order item from an inventory when there is nothing in the inventory)... etc...

M2cents....

Ric

>I would like to know where do you stand on using logical versus numerical variables .
>
>I tend to use numerical as I manipulate rathers small databases and do not need the improved processing speed of binary operations . I also like numerical variables for their complexity , because I can do more than return .f. to describe an UDF failure , for example .
>
>Let me know of your opinion
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform