Nesting Function Calls

When defining event action parameters, keep these rules in mind:

  • PARAMS(…)-type functions can never be nested.
  • FUNCTION(…)-type functions must be nested and can be nested either within PARAMS(…) functions or within other FUNCTION(…) functions.
  • …WORD…-type functions must be nested within FUNCTION(…)-type functions.

This is an example of an event action parameter that uses nested functions:

PARAMS(…FUNCTION1(…FUNCTION2(…WORD1…)…WORD2…)…)