Label concatenation

<< Click to Display Table of Contents >>

Navigation:  User guide > Text >

Label concatenation

When a new label requires the complete text of one or more previously defined labels to be included in it, label concatenation may be used. Concatenation in labels is indicated by the character '+'. Text, table names and variable names can all be concatenated together. There is no limit on the number of labels that can be concatenated.

In stub and banner labels, each '+' is interpreted as an item delimiter (CDI), unless the text preceding it is a text containing only a label control.

IMPORTANT: concatenated text will not output correctly from a L (list) command.

Examples of text concatenation:

h $q37 = 'Reasons for using petrol' + $main,

v $full = $part1 + '<p>' + $part2,