Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric overflow issue
Message
De
03/12/2001 17:07:26
 
 
À
03/12/2001 16:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00588052
Message ID:
00588963
Vues:
36
>Testing for myField = 1/0 returns true on a field with a numeric overflow condition. So this should be a good general solution, or you could SCAN/ENDSCAN and check the condition on each record if necessary:
>
>REPLACE myField with 0 for myField = 1/0
Hi, Steve,

Yes, I read about this solution earlier in the thread. This is rather obscure, don't you think? I would prefer a "cleaner" approach, even if would involve extra coding... If only we could express overfow as a constant, like NaN...

bye
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform