Previous Topic

Next Topic

Book Contents

Book Index

The replacement operator

The replacement operator allows for specific job data, global variable or a local variable to be replace in that specific spot in the text stream. For example:

This is parameter 1 for this job: >>((sc_parameter_p1))<<

Assuming that the first parameter for this is BLUE then this would become:

This is parameter 1 for this job: >>BLUE<<

If the source had been specified as:

This is parameter 1 for this job: >>

((sc_parameter_1))

<<

The result would become:

This is parameter 1 for this job: >>

BLUE

<<

To keep all the text on the same line the following can be used:

This is parameter 1 for this job: >> ((!*))

((sc_parameter_1*))

<<

The result would become:

This is parameter_1 for this job: >>BLUE<<

The "*" asterisk suppresses the following cr/lf.

See Also

Using pre-processing directives

Available symbols

The include operator

The set operator

An example