diff options
Diffstat (limited to 'macros/GeneralFunctions/SCI2Ccopyfile.sci')
-rw-r--r-- | macros/GeneralFunctions/SCI2Ccopyfile.sci | 2 |
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 |