summaryrefslogtreecommitdiff
path: root/macros/GeneralFunctions/SCI2CNInArgCheck.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/GeneralFunctions/SCI2CNInArgCheck.sci')
-rw-r--r--macros/GeneralFunctions/SCI2CNInArgCheck.sci4
1 files changed, 1 insertions, 3 deletions
diff --git a/macros/GeneralFunctions/SCI2CNInArgCheck.sci b/macros/GeneralFunctions/SCI2CNInArgCheck.sci
index 23886fed..71b93328 100644
--- a/macros/GeneralFunctions/SCI2CNInArgCheck.sci
+++ b/macros/GeneralFunctions/SCI2CNInArgCheck.sci
@@ -21,8 +21,6 @@ function SCI2CNInArgCheck(NInArgs,MinNArgs,MaxNArgs)
// -----------------------------------------------------------------
if ((NInArgs < MinNArgs) | (NInArgs > MaxNArgs))
- SCI2Cerror('Incorrect number of input arguments.');
+ error(9999, 'Incorrect number of input arguments.');
end
-
-
endfunction