Getting Out of a For Loop

Samuel Doughty <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CALCCG3iyJzvCefNtpzDZukNgwSWZEReZRUwzZTLoZjvPT+S37g@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.