<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Hi all,<br>
<br>
It seems that all variables defined in the personal startup file
are now automatically protected and become <br>
unclearable, with Scilab 6.0.0-a1. This could somewhat fix the bug
<a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/8634">http://bugzilla.scilab.org/8634</a> <br>
(predef() cannot be used is startup file), in an unexpected and
quite radical way.<br>
<br>
However, this behavior is strange: in SCI/Etc/scilab.start, there
is no call to predef() after personal <br>
startup file(s) is executed.<br>
<br>
Could anyone confirm this behavior? Here is the test:<br>
<br>
edit(SCIHOME+"/scilab.ini")<br>
//add the line<br>
a=1<br>
// in the file. Save it. Quit and restart Scilab. In the new
session, try<br>
a // should display 1<br>
clear a // could display a warning. Nothing is display (reported
as <a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/9709">http://bugzilla.scilab.org/9709</a> ?)<br>
a // still here. Not deleted = protected<br>
<br>
// But may be "clear" is bugged... Let's try<br>
b = 2<br>
clear b<br>
b // => undefined variable. So, "clear" is OK<br>
<br>
May we open another thread about predef()'s future...<br>
<br>
Regards<br>
Samuel<br>
<br>
</font>
</body>
</html>