[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50683] disp() for cell arrays should not have
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50683] disp() for cell arrays should not have initial newline |
Date: |
Thu, 30 Mar 2017 18:04:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?50683>
Summary: disp() for cell arrays should not have initial
newline
Project: GNU Octave
Submitted by: rik5
Submitted on: Thu 30 Mar 2017 03:04:03 PM PDT
Category: Interpreter
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Feature Request
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
There is a small inconsistency with the disp() routine and the built-in cell
array type. It always prints a newline before the cell array, unlike a
regular array.
See the Octave session captured below:
octave:1> x = {1;2;3}
x =
{
[1,1] = 1
[2,1] = 2
[3,1] = 3
}
octave:2> disp (x)
{
[1,1] = 1
[2,1] = 2
[3,1] = 3
}
octave:3> y = [1;2;3]
y =
1
2
3
octave:4> disp (y)
1
2
3
octave:5>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50683>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50683] disp() for cell arrays should not have initial newline,
Rik <=