[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Functions in Octave
From: |
Mike Miller |
Subject: |
Re: Functions in Octave |
Date: |
Thu, 27 Aug 2015 14:10:40 -0400 |
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