<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi SCILAB community,<br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><div><br><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Scilab Version: !5.2.0.1266391513 </span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">! !</span><br
style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Operating System: !Windows 7 6.1
</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">! !</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Java version : !1.6.0_18 </span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">! !</span><br style="font-family: Courier
New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Java runtime information : !Java(TM) SE Runtime Environment (build 1.6.0_18-b07)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">! !</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Java vm information : !Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
New,courier,monaco,monospace,sans-serif;">! !</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">!Vendor specification: !Sun Microsystems Inc. </span><br> <br><br>I have a problem running a try-catch-end block when a while loop in inside it.<br><br>For example, the following code just create magic matrices from 4 to 1 but at x=2, an error supposed to happen. The error is correctly detected, but I have to restart scilab because it does not respond..<br><br>x=5;<br>try<br> while (x>=0)<br> x=x-1<br> disp("x sollte positiv
sein")<br> if (x < 2) then t = x +"sr";<br> else z=testmatrix("magic",x)<br> end<br> end<br>catch<br> x<br> disp('catch: Ein Fehler ist aufgetreten');<br> z=testmatrix("magic",10)<br>end<br><br>I can not find the reason of this failure in the mailing list... maybe someone know something about it??<br><br>Regards,<br><br>Julio Gonzalez-Saenz<br>www.part-time-scientist.com<br>www.neex-technologies.com<br></div>
</div><br>
</div></div>
</div><br>
</body></html>