How to: |
A function can be an argument for another function.
field = function([arguments,] function2[arguments2,] arguments);
where:
Is the field that contains the result of the function.
Is a function.
Are arguments for function.
Is the function that is an argument for function.
Are arguments for function2.
In the following example, the AYMD function is an argument for the YMD function:
-SET &DIFF = YMD(&YYMD, AYMD(&YYMD, 4, 'I8'));
Information Builders |