This function converts a character from lowercase to the corresponding character in uppercase format.
Function
CODESYS: Not available
LogicLab: eLLabXUnified12Lib
Ch (INT) Character to convert.
The function returns a variable (INT) with the character in uppercase format.
Examples
How to use the examples.
The "a" character (ascii code 16 # 61) is converted into the "A" character (ascii code 16 # 41) and transferred to the variable Result.
LogicLab (Ptp116)
PROGRAM ST_Systoupper VAR Result : INT; (* Result character *) END_VAR // ***************************************************************************** // PROGRAM "ST_Systoupper" // ***************************************************************************** // The character "a" (Ascii 16#61) is converted in "A" (Ascii 16#41). // ----------------------------------------------------------------------------- Result:=Systoupper(16#61); // [End of file]