[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: override display() for class
From: |
John W. Eaton |
Subject: |
Re: override display() for class |
Date: |
Mon, 13 Dec 2010 14:20:13 -0500 |
On 13-Dec-2010, bpabbott wrote:
| You'll need to overload display. Take a look at the attached example.
OK, I see the magic is done in octave_class::print_with_name. When
that function is called by bind_ans, the name argument is set to "ans".
Thanks,
jwe
- RE: override display() for class, (continued)
- RE: override display() for class, CdeMills, 2010/12/10
- RE: override display() for class, Steve White, 2010/12/11
- Re: override display() for class, Jaroslav Hajek, 2010/12/12
- RE: override display() for class, Steve White, 2010/12/12
- Re: override display() for class, CdeMills, 2010/12/13
- Re: override display() for class, Ben Abbott, 2010/12/13
- Re: override display() for class, John W. Eaton, 2010/12/13
- Re: override display() for class, bpabbott, 2010/12/13
- Re: override display() for class, John W. Eaton, 2010/12/13
- Re: override display() for class, bpabbott, 2010/12/13
- Re: override display() for class,
John W. Eaton <=
- RE: override display() for class, Steve White, 2010/12/15