octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35482] var(varargin{end})=1 gives an error


From: Garrett
Subject: [Octave-bug-tracker] [bug #35482] var(varargin{end})=1 gives an error
Date: Wed, 08 Feb 2012 16:14:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

Follow-up Comment #1, bug #35482 (project octave):

OK, sorry.  This is much more fundamental than I thought:


octave:1> y=3;
octave:2> x(y(end))=1
error: invalid dimension inquiry of a non-existent value
error: invalid empty index list
octave:2> x(3)=1
x =

   0   0   1



So Octave does not allow use of the 'end' keyword in a variable when it is
nested in an uninitialized variable.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35482>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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