help-octave
[Top][All Lists]
Advanced

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

Re: Functions in Octave


From: Fausto Arinos de A. Barbuto
Subject: Re: Functions in Octave
Date: Thu, 27 Aug 2015 18:19:26 +0000 (UTC)


Hi Mike;

Thanks a lot. The code now works and a lesson was learnt. ;-)

Fausto





On Thursday, August 27, 2015 3:10 PM, Mike Miller <address@hidden> wrote:


On Thu, Aug 27, 2015 at 18:02:56 +0000, Fausto Arinos de A. Barbuto wrote:
> Lastly, the big question: testefun.m works and I hadn't to write its
> two functions as separate files. Why?

Because testefun calls "clear" rather than "clear all" :)

You are falling prey to bug #35881 [1]. The "clear all" command clears
the functions knowledge of its own subfunctions and they can't be

called.

[1]:
https://savannah.gnu.org/bugs/?35881

--
mike




reply via email to

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