case

The case property forces character input to uppercase or lowercase letters.

Assign the case property to a character field when you want the runtime system to convert to uppercase or lowercase letters entered, both on the screen and in the corresponding program variable.

Because uppercase and lowercase letters have different values, storing character strings in one or the other format can simplify sorting and querying a database.

Characters entered by the user are converted in INPUT, INPUT ARRAY, and CONSTRUCT instructions.

The results of conversions between uppercase and lowercase letters are based on the locale settings (LANG). When using single byte runners, the conversion of ASCII characters >127 is controlled by the LC_CTYPE environment variable.

The case property is unique to Genero Studio. Genero BDL does not provide a corresponding attribute.