pc.c

Processing Code/Restore Processor, Releases: AP and R83

Concatenates elements to form output.

Syntax

celement{;element...} celement{/*} celement{xelement}{...}

Description

concatenates elements for output.

Each element may be delimited by a character to appear on output. The ';' (semi-colon) has a special meaning; it does not appear on output.

The elements can be:

- Numeric constants, enclosed in quotes.

- An Attribute position, referenced by its numeric attribute count.

- An alphanumeric character string enclosed in quotes, double quotes, or backslashes. When delimited by semi-colons, strings must be enclosed in quotes. Otherwise, alphanumeric strings are not separated from the other entries by semi-colons (;).

- '*' (asterisk). The asterisk is a special character used to concatenate the resulting value from the last processing code operation.

In the third form listed under syntax, the 'x' specifies the separator to appear between the concatenated elements. The separator may be any non-numeric character including a blank or semicolon, but cannot be a system delimiter. The semicolon is a special separator that specifies the elements are to be concatenated with no separation.

Example

c;3;', ';4;' ';5

Concatenates the current item's value of attribute three with a comma and
a blank, attribute four, a space, and attribute five.

See Also

Command Name Type Description
output-conversion Attribute Defining Item References attribute 14 of a dictionary.
processing.codes Definition Overview of processing codes.
list.processor Definition Access output-processing facility.
up.input-conversion.adi Processing Code Processing codes available from UP after input.
pc.concatenate Processing Code see the 'c' processing code.
pc.a Processing Code Defines algebraic processing expression.
pc Introductory

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.