General information
Category:
Coding, syntax & commands
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
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