Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement