scilab: display loading errors in examples
This commit is contained in:
parent
af822c640c
commit
2bcd768909
14 changed files with 71 additions and 14 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue