| 
       About Rule Files  | 
    Top Previous Next | 
| 
 Rule files are text files that contain descriptions of form enhancements. There can be any number of these enhancements, called rule sets, in a rule file. A header line composed of a unique name enclosed in square brackets indicates a new rule set. For example, an invoice form rule set would begin with the line "[Invoice]", followed by several lines indicating enhancements to the invoice output sent by the application. Without a rule set to work with, UnForm will not perform any enhancements. UnForm determines which rule set to work with based on either a command line option (-r), or detect commands contained in the rule set. 
 The enhancements that follow the [form-name] line are made up of commands and (usually) a list of parameters separated by commas. Commands instruct UnForm how to process the job. Here are some of the most commonly used commands: 
 
 
 
 UnForm includes many sample rule files, including simple.rul, advanced.rul, arcdemo.rul, and others, all found in the samples directory. 
  |