IsGood
The IsGood function is supported in Studio ONLY. It returns true if
the argument value is good, i.e. the attribute exists and the attribute
value is good. Otherwise it returns false. According to the Previous
Case argument the function works on the current or in the previous case.
Prototype
IsGood(PreviousCase ; Attribute)
Arguments
PraviousCase String By value (Nullable)
Null (not defined) or empty string or equal to
'N' -- work on current case
'Y' -- work on previous case
Attribute String By value
A valid string containing the Attribute name.
Returns
Boolean
the function returns True if the Attribute value is good
Exception
Undefined
Undefined is returned if:
- PreviousCase is not empty and not a valid one, or the previous case does not exist
- The attribute is not found
Examples
IsGood( ; 'Density')
This will return False if the Density value is bad.
IsGood('Y' ; 'i_Meas_Mass')
This will return False if the i_Meas_Mass value is bad in the previous case.