diff options
author | pmarecha | 2008-06-05 08:49:05 +0000 |
---|---|---|
committer | pmarecha | 2008-06-05 08:49:05 +0000 |
commit | 42659d6cdbe63972aea27baf0289db8fcc1310fa (patch) | |
tree | 05cc1eb42b985cf657be112ae5a2e842a13c2126 /src/Scilab2C/GeneralFunctions/SCI2Cerror.sci | |
parent | c4ca26eb9d2bbe224e41fc40658279cb865c48fc (diff) | |
download | scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.tar.gz scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.tar.bz2 scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.zip |
SVN is not FTP !
Diffstat (limited to 'src/Scilab2C/GeneralFunctions/SCI2Cerror.sci')
-rw-r--r-- | src/Scilab2C/GeneralFunctions/SCI2Cerror.sci | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Scilab2C/GeneralFunctions/SCI2Cerror.sci b/src/Scilab2C/GeneralFunctions/SCI2Cerror.sci new file mode 100644 index 00000000..444dcff5 --- /dev/null +++ b/src/Scilab2C/GeneralFunctions/SCI2Cerror.sci @@ -0,0 +1,11 @@ +function SCI2Cerror(errorstring);
+// function SCI2Cerror(errorstring);
+// -----------------------------------------------------------------
+// It is the error function but before issuing the error, perorms
+// the mclose('all');
+// 02-May-2006 -- Nutricato Raffaele: Author.
+// -----------------------------------------------------------------
+
+mclose('all')
+error('###########SCI2C_ERROR: '+errorstring);
+endfunction
|