summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_SZ_1.sci
diff options
context:
space:
mode:
authorjofret2010-06-21 06:24:38 +0000
committerjofret2010-06-21 06:24:38 +0000
commit8b44229ef44f0558ce045e46ff833fb44df913c9 (patch)
tree4fdd89b2258c18c905d2f17ef4bea8ea9cf32893 /macros/FunctionAnnotation/FA_SZ_1.sci
parentaf0366230e14cc75d9e9a183375ee9cb69fb46b6 (diff)
downloadscilab2c-8b44229ef44f0558ce045e46ff833fb44df913c9.tar.gz
scilab2c-8b44229ef44f0558ce045e46ff833fb44df913c9.tar.bz2
scilab2c-8b44229ef44f0558ce045e46ff833fb44df913c9.zip
Tagging the 2.0 release of scilab2crelease-2.0
Diffstat (limited to 'macros/FunctionAnnotation/FA_SZ_1.sci')
-rw-r--r--macros/FunctionAnnotation/FA_SZ_1.sci20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_SZ_1.sci b/macros/FunctionAnnotation/FA_SZ_1.sci
new file mode 100644
index 00000000..d9a481ce
--- /dev/null
+++ b/macros/FunctionAnnotation/FA_SZ_1.sci
@@ -0,0 +1,20 @@
+function outsize = FA_SZ_1(insize)
+// function outsize = FA_SZ_1(insize)
+// -----------------------------------------------------------------
+// Returns the first element of the size array.
+//
+// Input data:
+// insize: size of input argument. It is an array of 2 strings.
+// The first string specifies the number of rows.
+// The second string specifies the number of columns.
+//
+// Output data:
+// outsize: first element of the insize array.
+//
+// Status:
+// 08-Dec-2007 -- Raffaele Nutricato: Author.
+// 08-Dec-2007 -- Alberto Morea: Test Ok.
+// -----------------------------------------------------------------
+
+outsize = insize(1);
+endfunction