Hi,
An example of try and catch for handling execption is 
clear
try
f1= 200;
A1=1;
f2=0;
A2= u;//u is undefined
catch
    [str,n,line,func]=lasterror();
    disp('ERREUR',str)
end

Everything is ok but I try 
clear
try
f1= 200;
A1=1;
f2=0;
A2= ;//Nothing on right side of =
catch
    [str,n,line,func]=lasterror();
    disp('ERREUR',str)
end

Scilab console is blocked.You have to used ctrlc C and abort. I do  not
understand why
Thanks you for your help




--
View this message in context: 
http://mailinglists.scilab.org/Utilisation-de-try-tp4026492p4026493.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to