swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
     

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"

There are no block comments in OmniMark. To mark a block of text as comment, you must put a semicolon at the beginning of each line.

     
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:35:14 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.