octave-maintainers
[Top][All Lists]
Advanced

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

Re: @example's as doctests


From: Colin Macdonald
Subject: Re: @example's as doctests
Date: Sat, 28 Mar 2015 18:32:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 28/03/15 18:01, Oliver Heimlich wrote:
The doctest does not reset local variables between @example blocks, so
they can simply be used to group each pair of input and output.

Yes, that is sort of by design.

For now, I will *not* make the @group change---as you point out, someone might use that within some long output.

Colin



reply via email to

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