Error: Too many arguments to the macro ‘{name}’, which takes {expected}
A macro is called with more arguments than its #define declares parameters. IRIS refuses
to compile the line (MPP5613); ascot leaves the call unexpanded. Drop the extra arguments,
or declare the parameters the macro needs (#def1arg takes the whole argument text as one).
IRIS rejects the example.
ROUTINE Demo.MacroTooManyArguments
#define MAX(%a,%b) $SELECT(%a>%b:%a,1:%b)
Main()
Write $$$MAX(1,2,3), ! //! A2716
Quit