octave-bug-tracker
[Top][All Lists]
Advanced

[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:

  <https://savannah.gnu.org/bugs/?55995>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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