UPCASE

Convert lowercase characters to uppercase

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

variable

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

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

Note

The LOCALIZE subroutine controls the effect of the UPCASE 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.

LOCALIZE routine

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