Model Templates : Properties : Properties Template Structure

Properties Template Structure

As for all templates, this template is divided into two parts:

Template segments, each of which contains local declarations and statements. Recall that each template segment, when executed, generates a document segment.

In this template, there is an initiation section and one segment. The initiation section follows the template identifier line:

TEMPLATE di_dict;.

The segment section follows the segment identifier line:

SEGMENT report;.

Both the initiation section and the template segments consist of two parts:

Declaration section - Where the identifiers’ types are declared.
Body - Contains execution statements. These statements are contained within the keywords BEGIN and END.