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

 
 

bug #50852: Indexing undefined variable inconsistent with MATLAB

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5