User Tools

Site Tools

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



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.


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



See Also:



nocase_case_insensitive_key_or_index_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)