Download CISIS Formatting Language
Transcript
CISIS Formatting Language
Commands and Functions
f(num expr,length,decimals)
format value
Definition:
Converts a numeric value to string. <format> is the numeric expression to
be converted. <expr-1> and <expr-2> are optional and determine the
minimum output length and the number of decimal places respectively.
Notes:
If <format> is not a valid numeric expression, an error is issued. If <expr2> is set, <expr-1> must also be placed or a syntax error is issued. If only
<expr-1> is defined, the result is output in scientific exponent notation. If
the number of characters required to represent <format> is greater than
<expr-1>, additional positions are provided automatically. If <expr-1> is
missing, a width of 16 characters is assumed.
Examples:
1 f(val(v1),2),
2
f(((3+5)/2)+1,4,2),
3
f(v2),
See also:
val function
field selector
See:
v
field update
See:
proc function
find string
See:
instr function
format value
See:
f function
G
getenv(expression)
get environment variable
Support:
CISIS
Function type:
String
Syntax:
getenv(<format>)
Definition:
Returns the value of an environment variable.
Notes:
If <format> does not generate a valid environment variable name, no value
is returned.
Examples:
1 'Current path: ',getenv('PATH'),
2
See also:
(v1|=|,getenv(v1)/),
putenv function
13