[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: |
Fernando |
Subject: |
[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls |
Date: |
Sat, 12 Sep 2020 08:24:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0 |
Follow-up Comment #30, bug #58953 (project octave):
Summarizing, If I'm not wrong, we have that an expression like
obj.X(end)
where X can be either an object property or method, is equivalent to
obj.X(feval('end',obj.X,1,1))
thus, subsref is called twice.
On the other hand, the following two expressions:
obj.X(some_function(end))
obj.X(some_array(end))
are respectively equivalent to:
obj.X(some_function(feval('end',obj.X,1,1)))
obj.X(some_array(feval('end',some_array,1,1)))
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58953>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, (continued)
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/10
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/10
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/10
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/11
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/12
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls,
Fernando <=
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/14
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/16
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Guillaume, 2020/09/16
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/16
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/16
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/17
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/17
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Fernando, 2020/09/18
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, Guillaume, 2020/09/18
- [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls, John W. Eaton, 2020/09/18