process-start

rule

Syntax
process-start condition?
   action*


Purpose

process-start is a rule meant to contain any set up processing for a program; it is used to initialize the state (e.g., globals) of the program to a consistent state for process rules. A program can contain more than one process-start 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-start rule.

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

Related Syntax