[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39168] "break" in script has no effect on loo
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-bug-tracker] [bug #39168] "break" in script has no effect on loop in main. |
Date: |
Wed, 05 Jun 2013 15:36:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 Iceweasel/21.0 |
Update of bug #39168 (project octave):
Status: None => Confirmed
Operating System: Microsoft Windows => Any
Summary: "break" in subroutine has no effect on loop in main.
=> "break" in script has no effect on loop in main.
_______________________________________________________
Follow-up Comment #1:
The word "subroutine" is ambiguous here. We don't use it when talking about
Octave. The point is that you're running a script file, not a function file,
and script files don't create scopes, so if they have a break command in them,
it should refer to the scope of where they were called from.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39168>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/