summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci
diff options
context:
space:
mode:
authorsimon2009-08-17 09:35:00 +0000
committersimon2009-08-17 09:35:00 +0000
commit839d659e6b1c25be20bd556aba6386eaceb1245f (patch)
treedb14979c751b0fb88cb194bb78756dcf1347fc98 /macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci
parentc413c4e2a17838912c95bedc34fdf258390f13b2 (diff)
downloadscilab2c-839d659e6b1c25be20bd556aba6386eaceb1245f.tar.gz
scilab2c-839d659e6b1c25be20bd556aba6386eaceb1245f.tar.bz2
scilab2c-839d659e6b1c25be20bd556aba6386eaceb1245f.zip
Updated FA_REAL to handle the case where there is a %i which has not been handled by other functions ( as in OpColon)
added test for OpColon updated INIT_FillSCI2LibCDirs
Diffstat (limited to 'macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci')
-rw-r--r--macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci9
1 files changed, 4 insertions, 5 deletions
diff --git a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci
index 238bfc20..b1f8f982 100644
--- a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci
+++ b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.sci
@@ -1,5 +1,5 @@
-function opout = FA_SZ_FROM_VAL(in1)
-// function opout = FA_SZ_FROM_VAL(in1)
+function opout = FA_SZ_FROM_VAL(in1,in2)
+// function opout = FA_SZ_FROM_VAL(in1,in2)
// -----------------------------------------------------------------
// Return a size according to the floored value of the first argument
//
@@ -11,7 +11,7 @@ function opout = FA_SZ_FROM_VAL(in1)
//
// -----------------------------------------------------------------
-SCI2CNInArgCheck(argn(2),1,1);
+SCI2CNInArgCheck(argn(2),2,2);
if (SCI2Cisnum(in1))
@@ -33,5 +33,4 @@ else
end
-
-endfunction
+endfunction: