max
Syntax: max(real1, real2)
Arguments:
- real1 is a number.
- real2 is a number.
Return Type: Real
Description: Compares two numbers and returns the higher number.
Example:
if max(CRTRAN25.externalScore1,CRTRAN25.externalScore2) > accountScoreRecord.Score
then... ;
This example returns the higher score from an external data source—for example, 550 if the two external scores are 550 and 440—and compares it to the Falcon-generated score. If the external score is greater than the Falcon score, then an action is performed.