home *** CD-ROM | disk | FTP | other *** search
/ DOS Wares / doswares.zip / doswares / DATABASE / R&R / RR.SRT < prev    next >
Encoding:
Text File  |  1994-08-24  |  5.6 KB  |  167 lines

  1. ; RR.SRT
  2. ;
  3. ; The contents of this file control R&R's case sensitivity and the
  4. ; collation rules R&R uses to compare and sort character strings.
  5. ; If present at all, this file must be in the same directory as the
  6. ; R&R program files.
  7. ;
  8. ; After reading the instructions below carefully, you can edit this
  9. ; file by removing the semi-colon before each line you want to take
  10. ; effect. Any line that begins with a semi-colon is a comment and will
  11. ; be ignored by R&R.
  12. ;
  13. ; This file has two purposes.
  14. ;
  15. ; 1) By means of various "settings", this file specifies certain
  16. ;    properties of the process of comparing strings in R&R.  The
  17. ;    settings are:
  18. ;
  19. ;    COMPARISONS=APPROXIMATE
  20. ;    or
  21. ;    COMPARISONS=IDENTICAL
  22. ;
  23. ;    CASE=COMBINED
  24. ;    or
  25. ;    CASE=DISTINCT
  26. ;
  27. ;    CHARSET=CODEPAGE437
  28. ;    or
  29. ;    CHARSET=OTHER
  30. ;
  31. ;    COMPARISONS=APPROXIMATE means that comparison operators in calculated
  32. ;    field expressions and in query treat an accented character as
  33. ;    equivalent to its unaccented counterpart.  This is the default
  34. ;    behavior of R&R.
  35. ;
  36. ;    COMPARISONS=IDENTICAL means that comparison operators in calculated
  37. ;    field expressions and query treat an accented character as completely
  38. ;    distinct from its unaccented version.
  39. ;
  40. ;    CASE=COMBINED means that all sorting and comparing within R&R will treat
  41. ;    uppercase characters as if they were lowercase.  This is the default
  42. ;    behavior of R&R.
  43. ;
  44. ;    CASE=DISTINCT means that all sorting and comparing within R&R will treat
  45. ;    uppercase characters as different from lowercase characters.  All
  46. ;    uppercase characters will collate before any lowercase characters.
  47. ;
  48. ;    CHARSET=CODEPAGE437 means that R&R should make use of its built-in
  49. ;    knowledge of which characters from the IBM Code Page 437 character set
  50. ;    are uppercase, which are lowercase, and which are non-alphabetic.  This
  51. ;    means, for example, that R&R will recognize accented letters as letters
  52. ;    and be able to convert uppercase accented letters to lowercase.  This
  53. ;    is the default behavior of R&R.
  54. ;
  55. ;    CHARSET=OTHER means that R&R should not make use of its built-in
  56. ;    knowledge of which characters from the IBM Code Page 437 character set
  57. ;    are uppercase, which are lowercase, and which are non-alphabetic.  In
  58. ;    the absence of explicit collation rules from this file, R&R will sort
  59. ;    the characters from the extended character set in order by the numbers
  60. ;    assigned to them within the set.
  61. ;
  62. ; 2) This file also specifies the collation rules by which R&R compares and 
  63. ;    sorts strings of characters.
  64. ;
  65. ;    There are three forms of collation rule: "equivalence" rules,
  66. ;    "expansion" rules, and "inequality" rules.  Examples of each follow.
  67. ;
  68. ;       a = à = á = â
  69. ;
  70. ;    is an equivalence rule that states that certain accented "a"s
  71. ;    are to collate as if they were unaccented.  The order in which
  72. ;    characters appear in equivalence rules may be used to break ties
  73. ;    between strings that are otherwise identical.
  74. ;
  75. ;       ae = ä = æ
  76. ;
  77. ;    is an expansion rule that states that "a with umlaut" and
  78. ;    "ae ligature" are to collate as if they were the two-character
  79. ;    sequence "ae".
  80. ;
  81. ;       z < å < æ
  82. ;
  83. ;    is an inequality rule that states that the "ae ligature" collates
  84. ;    immediately after "a with ring" which collates immediately after
  85. ;    "z".
  86. ;
  87. ;    NOTE:  All collation rules must begin with an unaccented character
  88. ;           or pair of characters.  This means that any unaccented
  89. ;           character or pair of characters always collates before
  90. ;           an equivalent accented character.
  91. ;
  92. ;    NOTE:  No other unaccented characters may appear in a collation
  93. ;           rule.
  94. ;
  95. ;    NOTE:  Each collation rule must be entirely lowercase or
  96. ;           entirely uppercase.
  97. ;
  98. ;    NOTE:  Since combining of uppercase and lowercase characters
  99. ;           occurs (when applicable) before the application of collation
  100. ;           rules, the uppercase collation rules are sometimes
  101. ;           unnecessary.  They should be included in any case for the
  102. ;           sake of completeness.
  103. ;
  104. ;    NOTE:  Any character missing from the collation rules will be
  105. ;           sorted as implied by its character value in the IBM
  106. ;           Extended Character Set.
  107. ;
  108. ;    NOTE:  There must be at most one equivalence rule beginning
  109. ;           with any given unaccented character.
  110. ;
  111. ;    NOTE:  There must be at most one expansion rule beginning
  112. ;           with any given two-character sequence.
  113. ;
  114. ;    NOTE:  There must be at most one inequality rule beginning
  115. ;           with any given unaccented character.
  116. ;
  117. ;    NOTE:  No accented character or ligature should appear in more
  118. ;           than one collation rule.
  119. ;
  120. ;
  121. ;    This file must contain its information in the following order, though
  122. ;    any of the seven sections may be absent.
  123. ;
  124. ; 1) settings, in any order
  125. ;
  126. ;    COMPARISONS=APPROXIMATE
  127. ;    CASE=COMBINED
  128. ;    CHARSET=CODEPAGE437
  129. ;
  130. ; 2) lowercase equivalence rules, in alphabetical order
  131. ;
  132. ;    a = à = á = â
  133. ;    c = ç
  134. ;    e = è = é = ê = ë
  135. ;    i = ì = í = î = ï
  136. ;    n = ñ
  137. ;    o = ò = ó = ô
  138. ;    u = ù = ú = û
  139.  
  140. ; 3) uppercase equivalence rules, in alphabetical order
  141.  
  142. ;    C = Ç
  143. ;    E = É
  144. ;    N = Ñ
  145.  
  146. ; 4) lowercase expansion rules, in alphabetical order
  147.  
  148. ;    ae = ä = æ
  149. ;    oe = ö
  150. ;    ss = ß
  151. ;    ue = ü
  152.  
  153. ; 5) uppercase expansion rules, in alphabetical order
  154.  
  155. ;    AE = Ä = Æ
  156. ;    OE = Ö
  157. ;    UE = Ü
  158.  
  159. ; 6) lowercase inequality rules, in alphabetical order
  160.  
  161. ;    z < å
  162.  
  163. ; 7) uppercase inequality rules, in alphabetical order
  164.  
  165. ;    Z < Å
  166.  
  167.