[Top][All Lists]

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

[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression w

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls
Date: Fri, 11 Sep 2020 02:18:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #24, bug #58953 (project octave):


The first one makes sense to me.  There is no "end" in the argument list, so
subsref is called only once.

But for the second?  I see that subsref is called for obj.methodA, and it
makes some sense to make that call to find out whether obj.methodA is a value
or a function, but why does "end" get the value 3?  Where does that come from?


Reply to this item at:


  Message sent via Savannah

reply via email to

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