From bug-octave-request at bevo dot che dot wisc dot edu Thu Dec 11 05:56:55 2003 Subject: m-file warning() could be more useful From: Paul Kienzle To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 11 Dec 2003 06:56:42 -0500 E.g., octave:35> C('c',2) warning: in C near line 10, column 1: >>> warning ("Replacing definition of constant %s", varargin {i}); warning: Replacing definition of constant c Should be: octave:35> C('c',2) warning: Replacing definition of constant c E.g., octave:36> function f, C('c',3); end octave:37> f warning: in C near line 10, column 1: >>> warning ("Replacing definition of constant %s", varargin {i}); warning: Replacing definition of constant c Should be: octave:37> f warning: in f near line 1, column 1: >>> C('c',3); Replacing definition of constant c 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 -------------------------------------------------------------