diff options
author | rupak | 2019-08-09 18:23:51 +0530 |
---|---|---|
committer | rupak | 2019-08-09 18:23:51 +0530 |
commit | 85bde50698bbdfd891ef194cd700d9a659bd50cd (patch) | |
tree | 5b09ea04150f1e11a18022e2145817d84828d563 /loader.sce | |
download | fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.gz fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.bz2 fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.zip |
first commit
Diffstat (limited to 'loader.sce')
-rw-r--r-- | loader.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/loader.sce b/loader.sce new file mode 100644 index 0000000..41751bf --- /dev/null +++ b/loader.sce @@ -0,0 +1,20 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); mode(-1); +oldlines = lines()(2); lines(0); +try + exec(get_absolute_file_path("loader.sce")+"etc/"+"scilab_toolbox.start"); +catch + [errmsg, tmp, nline, func] = lasterror() + msg = "%s: error on line #%d: ""%s""\n" + msg = msprintf(msg, func, nline, errmsg) + lines(oldlines) + mode(oldmode); + clear oldlines oldmode tmp nline func + error(msg); +end +lines(oldlines); +mode(oldmode); +clear oldlines oldmode; + |