swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
declaration/definition  

declare name-letters

 
 

Syntax

declare name-letters string string


Purpose

A declaration used to identify an uppercase/lowercase relationship of characters above ASCII 127. OmniMark names are case-insensitive, however by default, only the characters of the Roman alphabet have defined upper and lowercase equivalents. You can define, for example, a relationship between upper- and lower-case accented characters, using a name-letters declaration.

A name-letters declaration must appear in the program before any rules.

There are several constraints on this declaration:

This means that:

In the final analysis, an uppercase name character has zero, one, or more than one lowercase name character.

This example defines the upper/lowercase relationship between all of the "accented" letters in the Latin 1 character set:

  declare name-letters
     "%10r{192,193,194,195,196,197,198,199,200,201}" _
     "%10r{202,203,204,205,206,207,208,209,210,211}" _
     "%10r{212,213,214,216,217,218,219,220,221,222}"
  
     "%10r{224,225,226,227,228,229,230,231,232,233}" _
     "%10r{234,235,236,237,238,239,240,241,242,243}" _
     "%10r{244,245,246,248,249,250,251,252,253,254}"

    Related Syntax
 
 
 

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

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

Copyright © Stilo International plc, 1988-2010.