Editing a Source File
> COBOL Editor |
|
Keywords can be highlighted using colors and font styles (boldface type). Highlight colors can be set for the following items.
|
Item |
Explanation |
|---|---|
|
Single-line comment |
Every line beginning with "*" or "/" in the indicator area is treated entirely as a comment line. A line with "D" or "d" at its beginning is treated entirely as a comment line even if it includes debug information. |
|
In-line comment |
On a line with "*>", the portion from the "*>" to the end of the
line is treated as an in-line comment. |
|
Reserved words |
A list of reserved words is defined in each COBOL version. For the
reserved words, refer to "COBOL Grammar Specification". |
|
Figurative constants |
The figurative constants include the following: |
|
Special register |
The special register constants include the following:
|
|
Character strings |
Character strings are defined in the following formats: |
The highlight color settings for the above items can be displayed as follows:


By default, the reserved words are displayed in boldface type, and all other items are displayed in the normal font style.
The color settings for the above items can be changed as follows:


The settings remain in effect even after the next time the editor is opened.
|