Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide by zero
Message
 
To
18/03/2000 10:31:13
Daniel Antich
Informática Industrial
Heredia, Costa Rica
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00347456
Message ID:
00347494
Views:
23
>How I can get an error from "divide by zero" instead **********. I need to work this situation with the error handler routines.
>Thans in advance

Daniel,

Unlike most other languages, FoxPro does not generate an error when a number is divided by zero. To handle this situation you must check if the divisor is zero beforehand.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform