|
From: | Colin Macdonald |
Subject: | Re: cell-array display in class |
Date: | Thu, 30 Apr 2015 10:19:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 30/04/15 06:51, Oliver Heimlich wrote:
The method's signature should stay compatible with the core functions, which check for nargin==1. Is it a good idea to pass current_print_indent_level as a global variable to the display method?
That sounds reasonable to me.Other option might be leave `display` alone and change Octave to have cell arrays render using `disp`, which can return a string (which we then manipulate).
(Interval does not implement `disp.m` but easy to fix.)
[Prev in Thread] | Current Thread | [Next in Thread] |