bugGNU Octave - Bugs: bug #50852, Indexing undefined variable...

 
 

bug #50852: Indexing undefined variable inconsistent with MATLAB

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Sat 22 Apr 2017 04:24:35 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 May 2017 09:26:50 AM UTC, comment #1: 

This is a duplicate of bug #33637

Anonymous
Sat 22 Apr 2017 04:24:35 PM UTC, original submission:  

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



Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-16 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #33637

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code