PureBytes Links
Trading Reference Links
|
At 02:15 PM 3/5/2005, DH wrote:
>Always check for divide by zero. Also check for anything else that can
>bust the code.
Also, you can usually isolate the offending divide by commenting out lines of code.
You can search for any "/" character and comment out each line with braces.
See if this fixed the error.
If so then start removing each set of braces until you get to the offending one.
You can also comment out the top half of the code, then the bottom half, etc., to isolate the offending line.
Bob Fulks
|