If several functions have the same name, then Vantage uses the following steps to determine which function to invoke.
IF... | THEN... |
---|---|
no argument in the function call is the NULL keyword | if one of the functions has parameter types that are identical to the corresponding argument types of the function call, then Vantage selects that function. If no function has parameter types that are identical to the corresponding argument types of the function call, then Vantage repeats the following test for each argument of the function call, starting with the first (left):
For more information on the rules of compatible precedence, see Compatible Types. |
any argument in the function call is the NULL keyword | Vantage repeats the following test for each argument of the function call, starting with the first (left):
After testing each argument and not returning an error, Vantage uses the following rules:
For more information on the rules of compatible precedence, see Compatible Types. |