I used a similar method in an earlier version of the screen which worked fine.
In my form, I used the MOD() function which catches the error, as does the %
operator. There is some inconsistency here in that % traps the error but /
doesn't.
Thanks to everyone who contributed.
ERROR.
On Mon, Aug 12, 2013 at 5:18 PM, L ALVEY wrote:
> It seems that division by zero is not caught by VFP. In the command window,
> type ? 1/0 , and you get a line of asterisks, right? (I'm running
> VFP9 SP2.)
--
.~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Ubuntu 9.1
It seems that division by zero is not caught by VFP. In the command window,
type ? 1/0 , and you get a line of asterisks, right? (I'm running VFP9
SP2.)
I have a form which evaluates a string expression and sends the result back to
its caller. The only way I have found to catch division by zer
3 matches
Mail list logo