help-octave
[Top][All Lists]
Advanced

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

Getting Out of a For Loop


From: Samuel Doughty
Subject: Getting Out of a For Loop
Date: Sat, 24 Jul 2021 16:47:48 -0500

I need to get out of a FOR loop. I have written a simple IF test that I thought would work, but it does not. It was this, where esq has been previously evaluated:
 if esq<1e-10
    exitfor
  endif
What do I need to do differently, please?
Thanks,
Sam

reply via email to

[Prev in Thread] Current Thread [Next in Thread]