NOHEADINGS

From CometWiki

Revision as of 10:05, 6 June 2009 by Badge (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NOHEADINGS

Syntax:
NOHEADINGS
Placement:
See discussion.
Disucssion:
NOHEADINGS suppresses column titles for a particular print line.
It does not suppress overall format command such as date, primary file name, overall report title, and page number.
Each print line in a multiple-line report must contain its own NOHEADINGS command to suppress column titles.

The NOHEADINGS command may be used globally or locally, as follows:

Globally
If you use the NOHEADINGS command before the REPORT command, all of the print lines will appear without headings.

For example:

    NOHEADINGS     ! NOHEADINGS command in global section
    REPORT
    .
    PRINT ...      ! print line with no headings
    USING ...
    PRINT ...      ! print line with no headings
    USING ...
    PRINT ...      ! print line with no headings
    

Locally
If you use the NOHEADINGS command after the REPORT command, the indentation applies only to the next secondary print line.

For example:

    REPORT
    .
    PRINT ...
    USING ...
    PRINT ...
    NOHEADINGS      ! NOHEADINGS command in local section
    USING ...
    PRINT ...       ! print line with no headings
Personal tools