LOCASE

Convert uppercase characters to lowercase

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
LOCASE variable

Arguments

variable

A variable containing the characters to be converted to lowercase. (a)

Discussion

The LOCASE statement converts uppercase alphabetic characters to their corresponding lowercase characters. It does not change the value of any other character.

Note

The LOCALIZE subroutine controls the effect of the LOCASE statement on the characters [, \, ], and ^ by enabling ANSI-compliant translation.

On those systems that support a user setting of the current language locale (Windows, OpenVMS, and most UNIX), the runtime automatically determines which 8-bit characters are uppercase or lowercase according to the current language locale of the user.

See also

UPCASE statement

Examples

record
    fld1        ,a14,   "JUST A [DEMO]."
proc                                    ;The results will be:
    locase fld1(4,11)                   ;"JUSt a [demO]."
    locase fld1                         ;"just a [demo]."
    stop
end