|
From: | Gerd Bürger |
Subject: | Re: functions not overwritten ? |
Date: | Thu, 02 Feb 2006 21:47:52 +0100 |
User-agent: | Thunderbird 1.5 (X11/20051201) |
Hi,the issue below still seems unresolved. Could anybody confirm the described error, or perhaps explain that it is a desired behavior.
Thanks, Gerd
I have the impression that since 2.9.4 function defintions are not over-writable (see example below). Is that change on purpose?Regards, Gerd ------------ octave:1> function y = foo(x) > y = 2*x; > endfunction octave:2> type foo foo is a user-defined function: function y = foo (x) y = 2 * x; endfunction octave:3> function y = foo(x) > y = 3*x; > endfunction octave:4> type foo foo is a user-defined function: function y = foo (x) y = 2 * x; endfunction ------------
------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |