summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_SZ_2.sci
diff options
context:
space:
mode:
authorjofret2009-04-28 07:11:01 +0000
committerjofret2009-04-28 07:11:01 +0000
commitb22f596ce449869bffd8e0f63baee1c53e20fa06 (patch)
tree24e5c3ca47f535b5340a969edf31b774b356848b /macros/FunctionAnnotation/FA_SZ_2.sci
parentf96b66fe2423831bcad2f141469de6805364d019 (diff)
downloadscilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.tar.gz
scilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.tar.bz2
scilab2c-b22f596ce449869bffd8e0f63baee1c53e20fa06.zip
Moving macros here
Diffstat (limited to 'macros/FunctionAnnotation/FA_SZ_2.sci')
-rw-r--r--macros/FunctionAnnotation/FA_SZ_2.sci20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_SZ_2.sci b/macros/FunctionAnnotation/FA_SZ_2.sci
new file mode 100644
index 00000000..64fdac10
--- /dev/null
+++ b/macros/FunctionAnnotation/FA_SZ_2.sci
@@ -0,0 +1,20 @@
+function outsize = FA_SZ_2(insize)
+// function outsize = FA_SZ_2(insize)
+// -----------------------------------------------------------------
+// Returns the second 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: second element of the insize array.
+//
+// Status:
+// 08-Dec-2007 -- Raffaele Nutricato: Author.
+// 08-Dec-2007 -- Alberto Morea: Test Ok.
+// -----------------------------------------------------------------
+
+outsize = insize(2);
+endfunction