CASE - Set Default String Case Handling
[ C | T ]
C | T
The desired CASE status
A literal used in an SPFLite command line can be specified with an explicit case-sensitivity type code. A literal of C'aBc' requests 'Character-mode' case-sensitive handling, while a literal of T'aBc' specifically requests 'Text-mode' case-insensitive handling.
But how should unquoted strings like Abc, and quoted strings without type codes like 'aBc' be handled?
The CASE command allows you to specify how the search strings in FIND, CHANGE and similar commands are to be handled when a type of C or T is not used.
When C is specified, all general form literals, even unquoted strings, are handled as if they were specified as C'string'.
When T is specified, all general form literals, even unquoted strings, are handled as if they were specified as T'string'.
The current CASE setting is used to determine the case-sensitivity of alphabetic characters used in search Picture strings. The CASE setting also controls the default sort order in SORT.
The current setting of CASE can be seen by the CASE-code in the middle of the status line.
- If C or C W appears, CASE C is in effect.
- If T or T W appears, CASE T is in effect.
Note that the CASE command, and the current CASE setting, has no effect in how the change string of CHANGE commands is processed.
The CASE value is stored as part of the PROFILE options which are maintained individually by file type.
Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites