
Originally Posted by
Woozie
If I'm in the middle of a calculation and I want to stop, how do I do so? I accidentally set temperature to zero, and at line 122 I have exp(2inter/T). So now I'm getting a bunch of error messages saying "Warning: Division by Zero Line 122". But instead of stopping once it reached the first error, it continues my for loop again and again getting the same error every time. This for loop is 1000 steps, which is inside another for loop, which is inside another for loop (which I think is inside another for loop), so this is taking forever and I can't make it stop until it finishes every single step.