octave-maintainers
[Top][All Lists]
Advanced

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

Re: 2.1.39 : No more argn ?


From: Paul Kienzle
Subject: Re: 2.1.39 : No more argn ?
Date: Sun, 3 Nov 2002 14:23:38 -0500
User-agent: Mutt/1.2.5.1i

I can confirm that argn doesn't work for me in 2.1.38 or 2.1.36, but the code
for processing it is still in ov-usr-fcn.cc.  The last working version is 
2.1.35.

octave:1> function f, nargin, end
octave:2> f(1)
nargin = 1
octave:3> x=1;
octave:4> f(x)
nargin = 1
octave:5> function f, argn, end
octave:6> f(x)
error: `argn' undefined near line 1 column 13
error: called from `f'

Presumably removing the initializer for arg_nm in the tree_index_expression 
constructor
is the source of the problem.  See the following diff:
 
http://www.octave.org/cgi-bin/cvsweb.cgi/octave/src/pt-idx.cc.diff?r1=1.11&r2=1.12&f=h

- Paul

On Sat, Nov 02, 2002 at 10:50:04AM +0000, Etienne Grossmann wrote:
> 
>   Hello, did the  argn  variable disappear between 2.1.36 and 2.1.39?
> 
>   Etienne
> 
> -- 
> Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne
> 
> 
> 
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
> 



reply via email to

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