From 5808c44e344c3f80504ec93d2bb588e83d0170b8 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 16 May 2019 12:36:11 +0530 Subject: replace SCI2Cerror --- macros/GeneralFunctions/SCI2Ccopyfile.sci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/GeneralFunctions/SCI2Ccopyfile.sci') 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 -- cgit