mw.hlp (Topic list)
30884
THE NUMBER OF ELEMENTS IN THE MACRO INSTRUCTION
IS NOT VALID.
 
You included an incorrectly defined function in
a macro instruction. For example, the instruction
«SET variable=MID("text",2) is not valid because
the MID function requires three elements.
 
■ Edit the macro function to include the correct
  number of elements. For example,
  «SET variable=MID("Text",2,3) is a valid
  function because MID requires three elements.