octave-maintainers
[Top][All Lists]
Advanced

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

Re: String display


From: John W. Eaton
Subject: Re: String display
Date: Wed, 23 Oct 2019 18:15:34 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/23/19 5:47 PM, Rik wrote:

It's trivial to get 90% of the way there, but the last 10% is going to be a
PITA.  See the attached diff.

The trouble is that disp() does not print surrounding characters around
strings, and disp() is used by all the print routines in the octave-value
directory.  This is required because disp() might be overloaded by a
user-defined class.  Here's a backtrace showing that display() is called to
print the name tag, which then calls disp(), which then calls the print
routines which are overloaded for a particular octave_value type

Yeah, I see similar issues with the design when looking at how to add the type and dimension info.

jwe



reply via email to

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