process

rule

Syntax
process condition?
   local-declaration*
   action*


Purpose

process is a rule meant to house the main processing of a program: it is used as the launching pad for the core of the program. 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 condition evaluates to true; once its execution has completed, OmniMark examines the next process rule.

process rules are tried after process-start rules, and before process-end rules.

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.

Related Syntax