MERGE

Top  Previous  Next

Syntax

 

merge "ruleset" [ , "rulefile" ]

 

Description

 

This command will insert the contents of the ruleset into the currently parsed rule set.  If the rulefile parameter isn't supplied, the current rule file is used.  Otherwise, rulefile is opened in the UnForm directory or by full path, if specified, and is scanned for ruleset.  This command can be used to incorporate common elements into many rule set formats.  For example, a name and address heading could be placed into a rule set called "address_header", and various forms could use the command merge "address_header" to include the commands it contains.

 

Note that if no rulefile is specified, then the rule file specified for the job is used for the merge, even if the merge is nested within another merge that specifies another rule file.

 

Unlike other UnForm commands, merge works within code blocks, such as precopy or prepage, as well as outside of code blocks.

 

Drivers: pcl, pdf, ps, zebra