Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numerical versus logical
Message
De
04/02/2002 21:50:01
 
 
À
04/02/2002 17:46:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00615128
Message ID:
00615210
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform