octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46459] Interpreter allows number assignment t


From: anonymous
Subject: [Octave-bug-tracker] [bug #46459] Interpreter allows number assignment to "end" key word within array brackets
Date: Mon, 16 Nov 2015 20:52:27 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

URL:
  <http://savannah.gnu.org/bugs/?46459>

                 Summary: Interpreter allows number assignment to "end"  key
word within array brackets
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mo 16 Nov 2015 20:52:26 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Wolfgang F.
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Whithin the bracketing of arrays the interpreter allows to assign a value to
the "end" key word. Matlab does not allow this behavior (was only able to test
with 2010a).


a=[1 1 1]
a =

   1   1   1

>> a(end)
ans =  1
>> a(end)=3
a =

   1   1   3

>> a(end=1)=0
a =

   0   1   3

>> a(end)
ans = 0



I was searching if this bug already has been reported but could not find a
matchinng submit.

WF




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46459>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]