|
| From: | jkirby |
| Subject: | [Octave-bug-tracker] [bug #31793] case statement required for otherwise to be used in a switch |
| Date: | Sun, 05 Dec 2010 19:11:33 +0000 |
| User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5 |
URL:
<http://savannah.gnu.org/bugs/?31793>
Summary: case statement required for otherwise to be used in
a switch
Project: GNU Octave
Submitted by: jkirby
Submitted on: Sun 05 Dec 2010 07:11:32 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.3.53
Operating System: Other
_______________________________________________________
Details:
As the title says, Octave does not allow statements of the form:
switch index
otherwise
default_something = []
end
unless I put a case statement before the otherwise.
Sorry if it's a bit pendantic but this is something that has been recurring
in my users code-base and MATLAB does allow it.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31793>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |