Download CISIS Formatting Language
Transcript
CISIS Formatting Language
rmin(string)
Definition:
Notes:
Examples:
Commands and Functions
minimum value of expression
Returns the minimum value of a given format. <format> must generate a
string expression.
Similar to rmax function, rmin can compute the minimum of numeric
values in a repeatable field.
1
f(rmin('10;2;5;4;-2'),2,0),
2
f(rmin(v1,x1,v2,x1,'44'),4,2),
3
if rmin(v80||,v90| |,v100| |) < 1990 then 'Wrong decade.'/, fi,
See also:
rmax function
ravr function
rsum function
rsum(string)
Support:
Function type:
Syntax:
Definition:
sum of expression
Standard
Numeric
rsum(<format>)
Returns the sum of a given format. <format> must generate a string
expression.
Similar to rmax and rmin functions, rsum computes the sum of numeric
values in a repeatable field.
Notes:
Examples:
See also:
1
f(rsum('102,45,-37'),2,0),
2
f(rsum(v1,x1,v3,x1,f(val(v8)+2)),4,2),
3
if rsum(v20^d)>1000 then 'Aborted.'/ else 'OK'/, fi,
rmax function
ravr function
rmin function
S
s(expression)
Support:
Function type:
Syntax:
Definition:
Components:
extraction:
Notes:
string
Standard
String
s(<format>)[command component]
Returns the concatenation of string expressions generated by <format>.
extraction
Extracts partial content of the resulting string. <offset int> is the first
position to start extraction, while <length int> determines how many
characters will be extracted. If <length int> is omitted or is greater than the
resulting string, the default is the end of the resulting string.
Can be passed to functions that require a string expression as parameter.
24