[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunction
[Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunctions
Tue, 18 Feb 2014 22:20:21 +0000
Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1
Follow-up Comment #9, bug #37521 (project octave):
Just curious: was it a bug at all, or is ML's behavior now mimicked just by
accident (and do we now have bug-compatibility)?
Reading up on TMW site I find the description of what "clear functions" is
supposed to do still a bit ambiguous. About the effects of the "clear"
command, more specifically "clear functions", it states more or less:
"...clear from current workspace... ... <Compiled Scripts, Functions,
which to me appears exactly like the behavior that the OP thinks is an Octave
bug. It even rather looks to be a Matlab bug or ML documentation bug.
Or, do I wrongly perceive a subfunction to be a function in the parent
function's workspace? (could be, I'm sometimes easily confused :-) )
BTW, in ML r2014a prerelease it still works as per OP's expectations.
Reply to this item at:
Message sent via/by Savannah