<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>at the beginning of my script file (script.sce) I 
import a function as follows:</FONT></DIV>
<DIV> </DIV>
<DIV><EM><FONT size=2 face=Arial>mode(0);</FONT></EM></DIV>
<DIV><EM><FONT size=2 face=Arial>exec('test.sci');</FONT></EM></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>This function can be used afterwards. 
Then I make a change to the function <EM>test.sci </EM>and save 
it. When I execute my script again, scilab displays the following (translated 
from German):</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><EM><FONT size=2 face=Arial>exec('c:\...path.....\test.sci', 
-1)</FONT></EM></DIV>
<DIV><EM><FONT size=2 face=Arial>Warning: redefining function: test. Use 
funcprot(0) to suppress this warning.</FONT></EM></DIV>
<DIV><EM><FONT size=2 face=Arial></FONT></EM> </DIV>
<DIV><FONT size=2 face=Arial>The warning message makes sence because funcprot = 
1 "= warning".</FONT></DIV>
<DIV><FONT size=2 face=Arial>But the execution of my script seems to 
be interrupted by this warning. Each time I try to execute it again, scilab 
displays</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><EM><FONT size=2 face=Arial>exec('c:\...path.....\test.sci', 
-1)</FONT></EM></DIV>
<DIV><EM><FONT size=2 face=Arial></FONT></EM> </DIV>
<DIV><FONT size=2 face=Arial>The easiest way to make it work again is to modify 
the script.sce and save it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>How can I avoid this workaround and tell scilab to 
ignore changes in the functions despite of setting funcprot?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thx</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Yours,</FONT></DIV>
<DIV><FONT size=2 face=Arial>Johannes Graus  </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>