Show TOC

Preceding and Subsequent TextsLocate this document in the navigation structure

Use

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. These texts can be before or after the symbol. The texts are only printed if the value of the symbol is not initial. If the symbol contains its initial value, these texts are suppressed.

        
&'Vortext'symbol'Nachtext'&
         

Note: Make sure that the symbol, the preceding text, and the subsequent 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 preceding or subsequent text may itself contain symbols in addition to normal text. However, these symbols may not have a preceding or subsequent text.

Example

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

PO Box &KNA1-PFACH&

However, if no PO box has been specified, the text "PO Box"would still appear on its own in the address. To prevent this, use preceding or subsequent text (in this case, preceding text).

PO Box &KNA1-PFACH& -> PO Box

&'PO Box 'KNA1-PFACH& ->

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

&'PO Box 'KNA1-PFACH& -> PO Box 123456