Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
To define a Declaratives Section, choose one of the following methods:
- Type DPAR in columns 4 through 7. Do not enter the DECLARATIVES header; AMB generates it. AMB also generates the END DECLARATIVES statement at the appearance of another keyword in columns 4 through 7; be sure that a keyword appears at the end of your Declaratives Section. For example:
DPAR section-1-name SECTION declarative-sentence
DPAR para-1-name
/* para-1-name source code
.
.
.
DPAR section-2-name SECTION declarative-sentence
DPAR para-2-name
/* para-2-name source code
.
.
.
Generated AMB source:
DECLARATIVES.
section-1-name SECTION. declarative-sentence
para-1-name.
/* para-1-name source code
.
.
section-2-name SECTION. declarative-sentence
para-2-name.
/* para-2-name source code
.
.
END DECLARATIVES.
- To specify Declaratives Section statements only, not sections or paragraphs, type
DECL in columns 4 through 7. For example:
DECL declarative-statement
declarative-statement
Generated AMB source:
DECLARATIVES.
declarative-statement
declarative-statement
END DECLARATIVES.