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

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

[Octave-bug-tracker] [bug #52314] end in a matrix experession interprete


From: anonymous
Subject: [Octave-bug-tracker] [bug #52314] end in a matrix experession interpreted as endfunction
Date: Tue, 31 Oct 2017 06:01:57 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

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

                 Summary: end in a matrix experession interpreted as
endfunction
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 31 Oct 2017 10:01:56 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Garry Gelade
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Using Windows 10, 64 bit

Expressions such as  C= A(:2:end) are misinterpreted. Octave sees the end
keyword as end of function and highlights it in blue.

The expression is not evaluated and the script terminates at this point as
follows

parse error near line 6 of file endbug.m
syntax error
>>> C = A(:, 2:end)
    ^



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 31 Oct 2017 10:01:56 AM UTC  Name: endbug.m  Size: 159B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=42306>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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