* Bug #9934 fixed - clear([["A","B"]) returns a non standard error message.
+* Bug #9935 fixed - clear() does not clear all variables.
+
* Bug #10278 fixed - clear(1) returns a wrong error message.
* Bug #10415 fixed - Remove a session line in history causes the removal
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) Scilab Enterprises - 2012 - Simon MARCHETTO
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 9935 -->
+//
+// <-- JVM NOT MANDATORY -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9935
+//
+// <-- Short Description -->
+// clear() did not clear all variables
+%helps = "toto";
+clear()
+assert_checkequal(isdef('%helps'), %f);
+%helps = "toto";
+clear('%helps');
+assert_checkequal(isdef('%helps'), %f);
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) Scilab Enterprises - 2012 - Simon MARCHETTO
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- Non-regression test for bug 9935 -->
+//
+// <-- JVM NOT MANDATORY -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9935
+//
+// <-- Short Description -->
+// clear() did not clear all variables
+
+%helps = "toto";
+clear()
+assert_checkequal(isdef('%helps'), %f);
+
+%helps = "toto";
+clear('%helps');
+assert_checkequal(isdef('%helps'), %f);