|
| From: | John W. Eaton |
| Subject: | [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls |
| Date: | Wed, 9 Sep 2020 16:15:32 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #16, bug #58953 (project octave):
Oops, the class definition in comment #15 was supposed to be displayed inside
a verbatim block:
classdef myclass
properties
data
end
methods
function obj = myclass (data)
obj.data = data;
end
function r = methodA (obj, val)
r = val;
end
function r = subsref (obj, S)
S.type
S.subs
end
end
end
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58953>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |