diff options
Diffstat (limited to '2.3-1/macros/ErrorMessages/EM_ZeroSize.sci')
-rw-r--r-- | 2.3-1/macros/ErrorMessages/EM_ZeroSize.sci | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2.3-1/macros/ErrorMessages/EM_ZeroSize.sci b/2.3-1/macros/ErrorMessages/EM_ZeroSize.sci new file mode 100644 index 00000000..7cee5b9f --- /dev/null +++ b/2.3-1/macros/ErrorMessages/EM_ZeroSize.sci @@ -0,0 +1,27 @@ +function EM_ZeroSize(ReportFileName)
+// function EM_ZeroSize(ReportFileName)
+// -----------------------------------------------------------------
+//
+// Input data:
+// //NUT: Add description here
+//
+// Output data:
+// //NUT: Add description here
+//
+// Status:
+// 13-Feb-2008 -- Raffaele Nutricato: Author.
+//
+// Copyright 2008 Raffaele Nutricato.
+// Contact: raffaele.nutricato@tiscali.it
+// -----------------------------------------------------------------
+
+// ------------------------------
+// --- Check input arguments. ---
+// ------------------------------
+SCI2CNInArgCheck(argn(2),1,1);
+
+PrintStringInfo('SCI2CERROR: Cannot handle zero-size arrays.',ReportFileName,'both','y');
+PrintStringInfo(' ',ReportFileName,'both','y');
+error(9999, 'SCI2CERROR: Cannot handle zero-size arrays.');
+
+endfunction
|