help-octave
[Top][All Lists]
Advanced

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

Re: How to get docstring of a function ?


From: Ben Abbott
Subject: Re: How to get docstring of a function ?
Date: Wed, 12 May 2010 17:52:02 -0400

On May 12, 2010, at 10:18 AM, Søren Hauberg wrote:

> ons, 12 05 2010 kl. 08:14 -0400, skrev Ben Abbott:
>> On May 12, 2010, at 8:12 AM, Jordi Gutiérrez Hermoso wrote:
>> 
>>> 2010/5/11 Søren Hauberg <address@hidden>:
>>>> tir, 11 05 2010 kl. 14:26 -0500, skrev Jordi Gutiérrez Hermoso:
>>>>> 2010/5/11 Søren Hauberg <address@hidden>:
>>>>> 
>>>>>> Looking at your patch (I haven't tried it), I get the impression that
>>>>>> 
>>>>>> a = help ("some_function");
>>>>>> 
>>>>>> will return the docstring, but also display it.
>>>>> 
>>>>> No, did you see the context? printf is actually used for displaying
>>>>> the docstring.
>>>> 
>>>> I'm confused now.
>>> 
>>> No, I was confused. I misunderstood what you meant. Reading Ben's
>>> patch, that looks like the right one.
>> 
>> Jordi/others,
>> 
>> Shall I push it.
> 
> Looks good to me.
> 
> Søren
> 

ok, I pushed this change.

        http://hg.savannah.gnu.org/hgweb/octave/rev/07933067e4ab

Ben




reply via email to

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