Preceding and Subsequent Texts (Pre-Text / Post-Text)

In addition to using initial values for symbols, you can specify additional texts that are printed only when the value of the symbol is no longer the initial value. You can specify a text to be printed immediately before the symbol value (the pre-text), and a text to be printed immediately after the symbol value (the post-text). If the symbol contains its initial value, these texts are suppressed.

Syntax:

&'pre-text'symbol'post-text'&

Make sure that the symbol, the pre-text, and the post-text all appear on a single line of the editor. You may have to use a long line (paragraph attribute = or /=) in the editor.

The inverted comma ' is used as a delimiter for these texts. If this character is also part of one of these texts, enter it twice at this point, so that it is not interpreted as a delimiter character. A pre-text or post-text may itself contain symbols in addition to normal text. However, these symbols may not have a pre-text or a post-text.

The KNA1-PFACH field contains a customer P.O. Box number. Since the text "P.O. Box" is not stored in the field along with the value, you would normally write the following for the P.O. Box line of an address:

P.O. Box &KNA1-PFACH&

However, if no P.O. Box has been specified, the text "P.O. Box" would still appear on its own in the address. To prevent this, use pre-text or post-text (in this case, pre-text).

P.O. Box &KNA1-PFACH& -> P.O. Box
&'P.O. Box 'KNA1-PFACH& ->

If a P.O. Box has been specified, then this will be displayed together with the appropriate text in the normal way.

&'P.O. Box 'KNA1-PFACH& -> P.O. Box 123456