|
From: | Ceral Paquet |
Subject: | [Octave-bug-tracker] [bug #50852] Indexing undefined variable inconsistent with MATLAB |
Date: | Sat, 22 Apr 2017 12:24:36 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
URL: <http://savannah.gnu.org/bugs/?50852> Summary: Indexing undefined variable inconsistent with MATLAB Project: GNU Octave Submitted by: octavebugs Submitted on: Sat 22 Apr 2017 04:24:35 PM UTC Category: None 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: 4.2.1 Operating System: GNU/Linux _______________________________________________________ Details: In MATLAB: >> clear; A(1:2:end) = 1; Undefined function or variable 'A'. >> clear; A(1:2:end); Undefined function or variable 'A'. In Octave: >> clear; A(1:2:end) = 1; # works! >> clear; A(1:2:end) # error message could be better error: invalid use of end _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50852> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |