From bug-request at octave dot org Wed Feb 2 02:00:12 2005 Subject: Re: strange error message From: Francesco Potorti` To: "John W. Eaton" CC: Octave bugs list Date: Wed, 2 Feb 2005 01:56:44 -0600 >Yes, this is a minor bug in the new N-d array indexing code. >The "XXX FIXME XXX" is there as a placeholder until someone decides >what to print there. I suppose "row" and "column" are still >acceptable for the first and second indices, but what should we print >for the others? Should we say > > error: invalid third index = 0 > >here? If so, we will have to convert from a number to "third". >Things like > > error: invalid index at position 3 (= 0) > >would be easier to code, but is it immediately obvious what is meant >by "position 3"? Maybe: Invalid index 1 (row) of 3-dimensional matrix = 0 Invalid index 2 (column) of 3-dimensional matrix = 0 Invalid index 3 of 3-dimensional matrix = 0 -- Francesco Potortě (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 313 8091 via G. Moruzzi 1, I-56124 Pisa Email: Potorti at isti dot cnr dot it Web: http://fly.isti.cnr.it/ Key: fly.isti.cnr.it/public.key ------------------------------------------------------------- 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 -------------------------------------------------------------