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

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

[Octave-bug-tracker] [bug #50640] display function not passing arguments


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50640] display function not passing arguments to overloaded version of function
Date: Wed, 29 Mar 2017 17:53:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #31, bug #50640 (project octave):

Rik: 

Yes, I guess there is not much point in creating both display and disp methods
if display is just going to print the variable name and forward to disp, same
as the built-in display function would.

On the page you linked, there is also a statement about calling display with
two arguments (the first I've seen about that!) though it is not entirely
clear to me when that is supposed to happen.  And, based on experiments, it
seems that it is not completely accurate.

Also, that page links to
http://www.mathworks.com/help/matlab/matlab_oop/custom-display-interface.html
and also to the docs for the matlab.mixin.CustomDisplay class.  So there
appears to be some massive complexity here, just to print stuff.

Oh, and much of that only applies to classdef classes, not the legacy classes
that we have (mostly) been looking at (except for inputParser).

My conclusion:  It's hopeless.  I'm giving up and getting a real job.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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