process

rule

Syntax
process condition?
   local-declaration*
   action*


Purpose

A rule that performs a given series of actions provided that the conditions, if any, are met. A program can contain more than one process rule. These rules are examined in the order in which they appear in the program. When the rule is examined, the rule is executed if it has no condition, or if it has a condition which is true. OmniMark then examines the next process rule.

It is not an error for a program if all of the process rules are unselectable either because they have conditions that cannot be satisfied or because they are in inactive groups. In this circumstance, only the process-start and process-end rules (if any) are performed. It is intended that the process rules in a program contain its "main" processing.

Related Syntax