UPCASE

Convert lowercase characters to uppercase

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

Arguments

variable

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

Discussion

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.

See also

LOCALIZE routine

Examples

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