Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DIVIDE by ZERO (Where is the ERROR Message)
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00823716
Message ID:
00823813
Views:
36
>>Just wondered where the ERROR is.
>>Try this:
>>on error
>>a=12/0 &&I wondered if there was an error message for this
>>a=0/12 &&This is ok, and was ever
>>
>>Could somebody tell me why i dont get any error message. Tried this in VFP6SP5 and VFP7
>
>Unlike just about every other language, Fox going back to the FoxBASE days, has never
>treated division by zero as an error. It simply displays a series of asterisks as the result.

In other words, it overflows instead of erroring.
? $12/$0
on the other hand, errors.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform