Document Templates : DGL Statements : Output Statements : Verbatim Statement

Verbatim Statement

Statement Syntax:

/@ verbatim text @/

When the verbatim symbols /@ and @/ frame text in the template file, the text is passed literally (without interpretation) to the output segment file. Comments inside the frame, rather than being ignored, are passed literally as well. The end-of-statement character, “;”, is not required following the concluding verbatim symbol.

Verbatim statements may be used to pass the following to the output file:

Formatting commands applicable to a specific formatter.
Short text passages such as titles, opening remarks, etc.
In spite of the absence of any length restriction on verbatim text, longer text passages are usually passed using the INCLUDE file statement.

For example, when this verbatim section of the template is executed:

SEGMENT section1;
BEGIN /@
.title ACTIVITY-SPEC
.skip 2
.center; AN ACTIVITY SPECIFICATION
-- This section will describe the
-- purpose of the activities.
@/
-- this line will not appear in the output
END ;

it results in the following output:

title ACTIVITY-SPEC
.skip 2
.center; AN ACTIVITY SPECIFICATION
-- This section will describe the
-- purpose of the activities.