Not so, I have a select that fell over with div/0 and an on error dealt with
that.
Al

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Alan
Bourke
Sent: 12 August 2013 15:28
To: profoxt...@leafe.com
Subject: Re: FP: Trapping division by zero (Error 1307)



On Mon, Aug 12, 2013, at 02:21 PM, L ALVEY wrote:
> ON ERROR doesn't work either.
>

No, it's not regarded as an error or exception so the only thing that
you can do is check in code before doing a division where there's a
chance the divisor will be zero.

If you look at how various languages handle it, there is no consistent
way. 



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/003c01ce9774$f958a5e0$ec09f1a0$@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to