Download MET/CAL®

Transcript
MATH
Memory Register Operation FSC
INI
Purpose:
Retrieves the value of a specified MET/CAL initialization file
parameter.
This function takes two arguments. The first argument
specifies the initialization file section. The second argument
specifies the initialization file parameter.
The return value is an empty string if the specified parameter
does not exist in the specified section, or if the parameter
exists but has no value.
The section name and parameter name arguments are caseinsensitive.
One use of this function is to pass values from the
initialization file to user program invoked with the DOS (or
DOSE) FSC.
Result Type:
String
Argument Type:
String, String
Compatibility:
Requires V6.0 or later.
Example:
MATH M[10] = INI("startup", "tur_lim")
In this example, the value of the "tur_lim" parameter (usually
4.0) is stored in numeric register M[10]. "tur_lim" specifies
the T.U.R. limit used by MET/CAL. Note also that "INI" has a
string return value, but in this example the return value is
assigned to a numeric register. The MATH FSC automatically
converts the string value to a numeric value when necessary.
INT
Purpose:
Computes the largest integer less than or equal to its
argument.
Result Type:
Numeric
Argument Type:
Numeric
Example:
MATH L[1] = INT(MEM)
Purpose:
Returns the value of a specified Inventory Table field, for a
specified asset.
INV
MATH-36