summaryrefslogtreecommitdiff
path: root/macros/GeneralFunctions/SCI2Cfileexist.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/GeneralFunctions/SCI2Cfileexist.sci')
-rw-r--r--macros/GeneralFunctions/SCI2Cfileexist.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/GeneralFunctions/SCI2Cfileexist.sci b/macros/GeneralFunctions/SCI2Cfileexist.sci
index d01a283d..d3122054 100644
--- a/macros/GeneralFunctions/SCI2Cfileexist.sci
+++ b/macros/GeneralFunctions/SCI2Cfileexist.sci
@@ -32,7 +32,7 @@ if (size(allfiles,1) == 0)
elseif (size(allfiles,1) == 1)
ExistTest = %T;
else
- SCI2Cerror('Very Strange! Found more than one file with the same name.');
+ error(9999, 'Very Strange! Found more than one file with the same name.');
end
endfunction