Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric overflow issue
Message
From
03/12/2001 17:07:26
 
 
To
03/12/2001 16:52:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588052
Message ID:
00588963
Views:
35
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform