|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #40452] explicit clear will not clear function entered on the command line |
Date: | Sat, 02 Nov 2013 13:44:11 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Update of bug #40452 (project octave): Status: None => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: Have you tried "clear -f"? BTW your example: function foo "nop"; endfunction gets me syntax complaints. Anyway I think you'd better upgrade - 3.6.2 is quite old. I can confirm this behavior in 3.6.4 (on Windows). However, in the development version (3.7.7+) I see (on Linux and Windows): >> function [retval] = foo (); retval = 1; end >> exist foo ans = 103 >> clear foo >> exist foo ans = 0 >> foo error: 'foo' undefined near line 1 column 1 >> so this bug has been fixed. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40452> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |