[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: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #52292] behavior of "break" changed and is now incompatible to Matlab |
Date: |
Fri, 27 Oct 2017 04:28:43 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 |
Follow-up Comment #2, bug #52292 (project octave):
@ Hartmut: if I run your code in R2017b prompt, I get
Error: A BREAK statement appeared outside of a loop. Use RETURN instead.
If I put your code in a script and run it, I get
Error: File: /home/caliari/example.m Line: 2
A BREAK may only be used within a FOR or WHILE loop, and then only within the
same file as its corresponding FOR
or WHILE statement.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/