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

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

[Octave-bug-tracker] [bug #33637] Misleading "Incorrect use of end" mess


From: Rik
Subject: [Octave-bug-tracker] [bug #33637] Misleading "Incorrect use of end" message
Date: Fri, 24 Jun 2011 16:29:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Update of bug #33637 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  Here is simpler code to reproduce the error, assuming matrix a is
undefined.


clear a

a(1:end)
error: invalid use of end
error: invalid limit value in colon expression
error: evaluating argument list element number 1

BUT
a(1)
error: `a' undefined near line 3 column 1

OR
a(1:10)
error: `a' undefined near line 3 column 1




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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