If the function is not called with two arguments, it exits with
an error message. The code snippet above makes use of the tool
macro
WRONG_PARAM_COUNT
, which can be used to generate a standard error message (see
תרשים
33-1
).
As you can see, it calls an internal function named
wrong_param_count()
that's responsible for printing the warning. For details on
generating customized error messages, see the later section
"Printing Information."