help-octave
[Top][All Lists]
Advanced

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

Re: Getting Out of a For Loop


From: Kwan Lowe
Subject: Re: Getting Out of a For Loop
Date: Tue, 27 Jul 2021 11:19:05 -0400

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 <sdoughty11@gmail.com> 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



reply via email to

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