[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50591] display of class objects if assigned.
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #50591] display of class objects if assigned. |
Date: |
Mon, 20 Mar 2017 07:55:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
URL:
<http://savannah.gnu.org/bugs/?50591>
Summary: display of class objects if assigned.
Project: GNU Octave
Submitted by: ernstreissner
Submitted on: Mon 20 Mar 2017 11:55:02 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: ernstreissner
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: Any
_______________________________________________________
Details:
I wrote an arithmetics for octave in java.
This is wrapped in octave objects of class pn (polymorphic numbers)
E.g. pn(3.4) yields a number with value 3.4.
If i just write pn(3.4) (without ';'),
the result is ans=3.4.
Also if i write display (pn(3.4)) which is the same.
Nevertheless,
if i assign
a=pn(3.3)
i receive an error
error: Invalid call to display. Correct usage is:
display (a=pn(3.3))
-- Function File: display(NUM)
Strange enough,
display (a=pn(3.3)) is all ok.
I alsow would like to point out,
that the newest octave seems 4.3.0.+
whereas this version is not offered in this tracker.
Also, within that version much of it is still 4.2.1.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50591>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50591] display of class objects if assigned.,
Ernst Reissner <=