The first line of the template body produces a report heading for the properties. To produce this heading, use a
WRITE
statement (preceded by a comment):-- write report heading
WRITE (’\n\n’,’ ’:20, ’DATA-ITEM PROPERTY’);The character
\n
causes a blank line to be inserted in the text. In this case, two blank lines are inserted and the string “DATA-ITEM PROPERTY
” is written, indented by blanks. The blank,’’
, followed by the number 20 that appears in theWRITE
statement acts as a tab, indenting the line 20 spaces. In actuality, this number determines the minimum length that the printed expression is to reach. If the output falls short of this, blank spaces are added after the last character to complete the number. In this case, a single blank is used as the expression to be printed, causing 19 spaces to be added to the blank before the start of the next word.