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

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

[Octave-bug-tracker] [bug #52292] behavior of "break" changed and is now


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52292] behavior of "break" changed and is now incompatible to Matlab
Date: Thu, 26 Oct 2017 16:24:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #1, bug #52292 (project octave):

Refer to bug #39168 for the bug report that inspired this change. In that
report the user expected that a "break" inside a script that was called from a
loop in a different script would break out of the loop.

IMHO you should be using "return" if you want a script to exit early.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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