Labels for banner

<< Click to Display Table of Contents >>

Navigation:  User guide > Text >

Labels for banner

Labels for banner are set using the H (horizontal label) or X (text) commands.

All kinds of delimiters are allowed in banner labels. Label superheaders, overheaders and headers are centred over the columns to which they apply.

Banner labels are right-justified over the columns to which they refer.

If a text for a column is too long to fit in the space allocated, CL splits the text onto two or more lines.

If there are too many columns to fit on the page, CL splits the table onto two or more pages (this is called horizontal overflow), repeating all the text down to the total row, and the total columns.

Examples of banner labels:

h = 'Overall rating\Good;Aver-* age;Poor',

x = 'One;Two;Three',

When x is used the text is set for stubs, banners, and filter labels

The banner labels may be defined with the variable using colon or semicolon so:

dm h $fred=:'Header\',$128/1:'One',2:'Two',

dm h $fred=;'Header\',$128/1;'One',2;'Two',

is the same as:

dm $fred=$128/1,2,

h = 'Header\One;Two',

More than one label may be defined at the same time so:

dm vh $fred=        :'Row header\':'Col header\',

                         $128/1:'Row one':'Col one',

                         2:'Row two':'Col two',

is the same as:

dm $fred=$128/1,2,

v = 'Row header\Row one;Row two',

h = 'Col header\Col one;Col two',

 

For x the type can be omitted:

dm $fred= $128/        1;'Header\One',

                         2;'Two',

is the same as:

dm $fred=$128/1,2,

x = 'Header\One;Two',