Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
12/0 vfp don't give error message
Message
De
23/04/1999 13:31:11
 
 
À
23/04/1999 11:57:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00211559
Message ID:
00211610
Vues:
38
Hi Michel ---

Use the inverse of the equation and stick with multiplication. I try to avoid division at all costs unless I'm willing to stick code in checking all vars for 0. You know, n = 1/100 = n *.01

>
>When a calculation like 12/0 is done VFP don't give error message. Old version of fox usually give error message that we can trap. In VFP we try with numeric fiels or double and the field is allways replace with ************ and no error is given.
>
>Is there a way to catch this kind of bad calculation.
>
>Michel
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform