swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
     
Comments

You can annotate an OmniMark program with descriptive text, called a comment, which is ignored by OmniMark. Comments help make a program more understandable for human readers. Comments can appear in an OmniMark program anywhere white space is allowed; that is, anywhere except within a name, keyword, or string.

Comments begin with a semicolon and continue for the rest of the line. The following example illustrates the use of comments:

  ; Rule for paragraphs invoked after the start of a chapter

  element par when chapter-start
     output "\firstpar{}%sc%n"

       
----

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:06:17 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.