|        | |||||
|  | |||||
| Halting an OmniMark program | |||||
| Related Syntax | |||||
Usually, a translation program ends when all the input text has been processed. A process program usually ends when all of the process-start, process and process-end rules have completed. Some errors cause OmniMark to halt earlier.
The halt action explicitly terminates OmniMark from within a program. When it is encountered, OmniMark acts as if the end of all input has been reached. No further OmniMark rules or actions are performed. Processing of all output files is completed, including processing of referents.
The halt-everything action can be used to immediately halt an OmniMark program, leaving referents unresolved without any errors being reported.
| Related Syntax halt, halt-everything | 
| ---- |