Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2.6 App on 98/NT/2000 - Bug in Round()?
Message
 
To
13/11/2000 15:16:37
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00440487
Message ID:
00441513
Views:
8
Al,

A piece of one of the offending sections of code is below; it's just a simple round() call (thisV is a numeric value previously calculated from table fields):

DO CASE
CASE round(thisV,0) =< 250 && <<< application crashes right here
glSize = "S"
IF round(thisV,0)=0

ENDIF

When I replace the CASE line with the following...

CASE thisV =< 250.49999

...then the application proceeds ok and does not crash. As I mentioned in my first message, on Win98 restarting the app after the crash (without rebooting) causes the app to work fine; it does not choke on the round() code again until after a reboot. But on Win2000 it continues choking on the round() code each time the app is started, regardless of whether a reboot was done.

Again thanks in advance for your thoughts and comments.

Regards,

- Larry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform