If a macro contains parameters that contain no default value, or the default value is not sufficient, give the value of each parameter by appending it to the macro name separated by colons:
for:b—Sets the value of parameter 1 to b
for:in_startVal—Sets the value of parameter 1 to in_startVal
When macros contain multiple parameters and some parameters contain default values, the parameters with default values need not be specified. For example, a macro test that takes three parameters, where the first and third parameter contain default values assigned in the definition, can be invoked in these ways:
test:a:b:c—Assigns the value a to parameter 1, b to parameter 2, and c to parameter 3
test:a:b—Assigns the value a to parameter 1, b to parameter 2, and parameter 3 takes the default value
test::b:c—Parameter 1 takes the default value, b is assigned to parameter 2, and c to parameter 3
test::b—Parameters 1 and 3 take the default values, and parameter 2 is assigned a value of b.
The parameters with default values that are followed by parameters without default values must include a colon as a placeholder. Parameters at the end of the list, which contain default values, need not be included.