Document Templates : Principles of DGL : Overview of DGL Statements

Overview of DGL Statements

Here is a brief overview of DGL statements. Subsequent sections provide you with the full range of available statements and their syntax. DGL is written as statements, each of which is a specific command to the Documentor Tool. The types of statements vary, and most are similar to constructs in other languages.

DGL statements consist of the following types:

Structure statements—Define the structure of the template.
Declaration statements—Declare the type of identifier for variables, constants and parameters.
Assignment statement—Assign a value to a variable.
File handling statements—Open or close files or the dialog area, and read data from files.
Output statements—Pass information to output document segments, or to the dialog area.
Control flow statements—For conditional and iterating execution of statements.