[Top][All Lists]

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

[Octave-bug-tracker] [bug #55995] "continue" is dynamically, not lexical

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55995] "continue" is dynamically, not lexically scoped - callable from functions without for loops
Date: Tue, 26 Mar 2019 12:57:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #10, bug #55995 (project octave):

I agree that the message about "same file" could be clearer.  What it means is
that the continue or break command can't be inside a script that is called
from inside the loop.  That doesn't do the same thing as using continue inside
the loop in the same .m file.  Does that make sense?  If not, I can provide an
example, and I think this behavior with scripts used inside loops is what
Matlab does, but we could test again to be sure.


Reply to this item at:


  Message sent via Savannah

reply via email to

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