Re: Getting Out of a For Loop
Kwan Lowe <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAMpkXNAQnY2OrFjFJ2ED2VhyJP53M97Coe-rZ0+JTRxwne4ddA@mail.gmail.com> |
What language are you using? That "exit for" and the ig strucutre reminds me of Visual Basic. On Sat, Jul 24, 2021 at 5:48 PM Samuel Doughty <[email protected]> wrote: > > 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 > -- "Don't be lazy. Do the thing. Do it properly." - Simone Giertz