|
From: | Doug Stewart |
Subject: | Re: help foo, with empty function foo |
Date: | Mon, 24 Jun 2013 10:11:04 -0400 |
On 24 June 2013 15:53, Doug Stewart <address@hidden> wrote:
>
> On Mon, Jun 24, 2013 at 9:42 AM, Juan Pablo Carbajal <address@hidden>
> wrote:
>>
>> On Mon, Jun 24, 2013 at 3:18 PM, Muhali <address@hidden> wrote:
>> > If foo.m contains only help text, e.g.
>> >
>> > % This is foo.
>> >
>> > then in ML 'help foo' displays that text while octave produces an error:
>> >
>> > error: help: 'foo' is not documented
>> >
>> > I am not sure if this is a bug.
>> >
>>
>> Octave has its own documentation syntaxThere is documentation. Documentation is defined as the first block of
>>
>> http://www.gnu.org/software/octave/doc/interpreter/Documentation-Tips.html#Documentation-Tips
>>
>> I wouldn't say that not showing the documentation is breaking the
>> code. But I am not sure
>
>
> there was no documentation to show.
comments that does not start by "Author" or "Copyright". It doesn't
matter if its plain text or TexInfo.
But apparently, it only looks for documentation if there's any Octave
code in there at all.
Carnë
[Prev in Thread] | Current Thread | [Next in Thread] |