Copyright © Cloud Software Group, Inc. All Rights Reserved |
CALL $CALLRULE(rulecall)
A character string of syntax V (variable-length character string) or UN (Unicode) containing the name of the rule to be invoked, and, if the rule takes one or more arguments, a left parenthesis, a list of the comma-separated arguments, and a right parenthesis.
• You can pass a NULL value to the rule by omitting an actual value from the list of parameters in the position of the parameter to be passed the NULL. For example, in the sample rule below, to call ADDC without a value for B, you would use:
• If the rule to be invoked does not exist in a library in the current search order of the transaction, an untrappable error occurs. You can use the $RULE_EXISTS shareable tool to test for the existence of a rule before trying to invoke it.
Raised if rulecall is not a string conforming to the format described above.This rule receives a request to process two numbers by adding them together or subtracting them from each other. It then calls the appropriate user-written rule to do that processing. If one of the rules does not exist, the terminal displays an end message.
Copyright © Cloud Software Group, Inc. All Rights Reserved |