Xtensity
08-07-2010, 09:02 PM
is there any way I can make a script continue even if it runs into a math error?
For instance, on my Ti-84 calculator, if the equation tries to divide by zero or something, or square root a negative, it wont refuse to continue on trying the other numbers..
This is an issue that's preventing me from progressing on my current script, since the numbers I need are scattered throughout the equation...
For instance... the working x values could be anywhere in 1-100. Say there are only 5 working x values.. the other 95 x values would return a math error and crash the script.
is there any way around this?
For instance, on my Ti-84 calculator, if the equation tries to divide by zero or something, or square root a negative, it wont refuse to continue on trying the other numbers..
This is an issue that's preventing me from progressing on my current script, since the numbers I need are scattered throughout the equation...
For instance... the working x values could be anywhere in 1-100. Say there are only 5 working x values.. the other 95 x values would return a math error and crash the script.
is there any way around this?