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: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.1Operating 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 File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 May 2017 06:48:13 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #33637

    Back to the top


    Powered by Savane 3.1-cleanup1