summaryrefslogtreecommitdiff
path: root/macros/GeneralFunctions/SCI2Ccopyfile.sci
diff options
context:
space:
mode:
authorSunil Shetye2019-05-16 12:36:11 +0530
committerSunil Shetye2019-05-29 11:08:03 +0530
commit5808c44e344c3f80504ec93d2bb588e83d0170b8 (patch)
tree6dad3b3663903bad863721a28a39b6d79f942d4c /macros/GeneralFunctions/SCI2Ccopyfile.sci
parent26b77d7593b5ee0792b6b556f5569ea4227c2b02 (diff)
downloadscilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.tar.gz
scilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.tar.bz2
scilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.zip
replace SCI2Cerror
Diffstat (limited to 'macros/GeneralFunctions/SCI2Ccopyfile.sci')
-rw-r--r--macros/GeneralFunctions/SCI2Ccopyfile.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/GeneralFunctions/SCI2Ccopyfile.sci b/macros/GeneralFunctions/SCI2Ccopyfile.sci
index 40d43f40..7c459b56 100644
--- a/macros/GeneralFunctions/SCI2Ccopyfile.sci
+++ b/macros/GeneralFunctions/SCI2Ccopyfile.sci
@@ -43,7 +43,7 @@ elseif (CopyMode == 'overwrite')
PrintStringInfo(' ', OutFileName, 'file', 'y'); // Cannot use scilab copyfile when the directory is empty!.
copyfile(InFileName,OutFileName);
else
- SCI2Cerror('Unknown CopyMode: ""'+CopyMode+'""');
+ error(9999, 'Unknown CopyMode: ""'+CopyMode+'""');
end
endfunction