LOCASE

Convert uppercase characters to lowercase

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
LOCASE variable

variable

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

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.

UPCASE statement

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