scilab: display loading errors in examples

This commit is contained in:
Simon Marchetto 2014-09-11 08:56:04 +02:00
commit 2bcd768909
14 changed files with 71 additions and 14 deletions

View file

@ -1,6 +1,10 @@
lines(0);
ilib_verbose(0);
exec loader.sce;
ierr = exec('loader.sce', 'errcatch');
if ierr <> 0 then
disp(lasterror());
exit(ierr);
end
// Test use of a struct (Bar)