[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why am I getting a divide-by-zero error?


  • To: "David Fenstemaker" <dfens@xxxxxxxxxxxxx>
  • Subject: Re: Why am I getting a divide-by-zero error?
  • From: "Owen Davies" <owen@xxxxxxxxxxxxx>
  • Date: Tue, 13 Apr 1999 09:25:49 -0400 (EDT)

PureBytes Links

Trading Reference Links

>Divide by zero errors are caused by just that.
>
>Look at the functions that are being called and
>look at all the demoninators. (etc.)


>Divide by zero errors are caused by just that.
>
>Look at the functions that are being called and
>look at all the demoninators.
(etc.)

Actually, that kind of DBZ error I understand.  My
problem is when I get a divide-by-zero message when
no division is taking place.  The following line is what
causes the problem:

If CMO(n) > CMO(n)[1]

Without that line, the "system" runs fine.  With it, SC4
craps out and gives me the divide-by-zero error message.
If you can explain this, to say nothing of providing a fix,
I'd love to know.  To me, it looks like a bug.

In any case, thanks for trying.

Owen Davies