AMT Help Files

Code colors

These are the display items for which you can modify the foreground and background colours in the "COBOL Code colors" tab of the personal options.

Display item Description

Default

This item covers everything not covered by the other items

Comment

Code comments. 

Directive

Compiler directive statements. 

Number

Numeric Literals. 

Operator

Operators such as +, -, /, *, **, <=, =, NOT, AND, OR, etc.

String 

Alphanumeric Literals.

Type identifier

Usage clause, for example: BINARY, COMP, DISPLAY, etc.

Variable identifier 

User-defined words.

Whitespace

Background colour of spaces and tabs. The foreground colour is not relevant for this item.

Identification division header

The identification division header.

Identification division content

Identification division paragraphs. 

Program identifier

The program name. 

Function definition header or terminator

 FUNCTION-ID and END FUNCTION statements.

Environment division header

The environment division header. 

Environment division content

Environment division entry words. 

Environment division section header

Environment division sections. 

Environment division paragraph header

Environment division paragraphs. 

Data division header

The data division header.

Data division content

Data division entry words.

Data division section header

Data division sections. 

Data division paragraph header

Data division paragraphs. 

Procedure division header

The procedure division header. 

Procedure division content

Procedure division statement words.

Procedure division section header

Procedure division sections. 

Intrinsic function name

COBOL Intrinsic function names.  

Verb

COBOL verbs.

Flow control statement

Conditional and Loop expressions, such as IF/END-IF, EVALUATE, PERFORM.

Special register

Special register words, such as RETURN-CODE, WHEN-COMPILED.

Other keyword

Remaining COBOL keywords that do not fall under any of the above items. 

END PROGRAM

The end program statement.

Note: The foreground colour of Line numbers and Revision info along with the background colour of the editor itself, can be changed on the General tab of the personal options.