'return' used in a try/catch statement does not exit the function
Reported by Paul BIGNIER
The following script is self-explanatory. This is a regression with Scilab 5.
function foo()
try
error("random err")
catch
disp("should display")
return
end
disp("should not display")
endfunction
Regards,
Paul