There are “template parameters” for the entire template and “procedure parameters” for procedures. Template parameters are variables whose value may be changed interactively when the template is executed.
Declaration of template parameters is allowed only in the initiation section. The keyword PARAMETER appears only once in the declaration section, before the data-type assignments for parameters. Each data-type statement may be followed by as many identifiers of the same type as you want to define.
As many type statements as desired may follow the PARAMETER keyword.
STRING activity_name;
FLOAT a:=3.243;Template parameters may not hold a Rational Statemate element, while it is legal for a procedure parameter to be of this type. Procedure parameters are In/Out parameters.
Value assignments for Parameter statements are optional and allowed only for template parameters (we made one such assignment in the above example). If it is assigned, it represents the default value of the parameter at the first generation of a particular document. The value may only be a literal constant, not a constant identifier or an expression.
Note: Avoid changing template parameters within the template. It may cause confusion and can create inconsistent results when parameters are changed within segments.