swirl
Guide to OmniMark 7   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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:44:34 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.