Is there a possibility of skipping one step of a loop if in this step there appears an error like NIntegrate::eincr? After skipping, the loop should go to the next step and continue evaluation.

  • 3
    $\begingroup$ Have you looked at Check and Continue in the documentation? $\endgroup$ – rm -rf Oct 5 '12 at 15:50

As rm-rf remarks, this can be done with Check and Abort (and Quiet to keep things tidy):

Mathematica graphics


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.