From help-octave-request at bevo dot che dot wisc dot edu Sun Feb 23 18:12:59 2003 Subject: Re: 'varargin' problem From: Paul Kienzle To: Aron Lentsch Cc: help-octave at bevo dot che dot wisc dot edu Date: Sun, 23 Feb 2003 19:13:38 -0500 Aron Lentsch wrote: >Hi there, > >I recently installed Octave version 2.1.44 and since >then one of my "ancient" scripts doesn't work anymore. > >I identiefied the problem to be related to 'varargin'. >Up to version 2.1.34 of Octave everything worked well. >... > > >I suppose this problem is a bug. Or do I do something >wrong? Is there a work-around? > all_va_args ==> varargin{:} Or is the problem that you have always been using varargin as the variable name, and as of 2.1.34 it became a keyword? In that case, just replace varargin with x. Paul Kienzle pkienzle at users dot sf dot net ------------------------------------------------------------- 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 -------------------------------------------------------------