User Tools

Site Tools


nocase_case_insensitive_key_or_index_.htm
Navigation:  Language Reference > 5 - Declaration Attributes > Variable and Entity Attributes >====== NOCASE (case insensitive KEY or INDEX) ====== Previous pageReturn to chapter overviewNext page

NOCASE

blk2blue.jpg

The NOCASE attribute (PROP:NOCASE) of a KEY or INDEX declaration makes the sorted sequence of alphabetic characters insensitive to the ASCII upper/lower case sorting convention. All alphabetic characters in key fields are converted to upper case as they are written to the KEY. This case conversion has no affect on the case of the stored data. The NOCASE attribute has no effect on non-alphabetic characters.

Example:

Names   FILE,DRIVER('Clarion'),PRE(Nam)

NameKey  KEY(Nam:Name),NOCASE   !Declare name key, make case insensitive

NbrKey   KEY(Nam:Number)        !Declare number key

Rec       RECORD

Name       STRING(20)

Number     SHORT

         END

       END

See Also:

INDEX

KEY

nocase_case_insensitive_key_or_index_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1