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

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

[Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunction


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunctions
Date: Tue, 18 Feb 2014 22:20:21 +0000
User-agent: 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,
MEX-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:

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

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




reply via email to

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