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

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

[Octave-bug-tracker] [bug #38286] fdisp not working for legacy OO classe


From: Rik
Subject: [Octave-bug-tracker] [bug #38286] fdisp not working for legacy OO classes (@class interface)
Date: Fri, 08 Feb 2013 17:57:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

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

                 Summary: fdisp not working for legacy OO classes (@class
interface)
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Fri 08 Feb 2013 09:57:56 AM PST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The @class interface calls the function @class/display.m when it needs to
display an object of @class.  This works fine when the output is to stdout. 
When the output is to a different file handle, such as when using fdisp, the
output still goes to the screen and the file is left empty.

I've attached a tar file with a sample class and test script which illustrates
the problem.

Matlab talks about overloading not only display(), but also disp().  It's
unclear whether even that will be enough in this case.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 08 Feb 2013 09:57:56 AM PST  Name: fdisp_obj_tst.tar  Size: 6kB  
By: rik5

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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