Returns a WIDECHAR(1) character value corresponding to an integer value.
WCHARVAL(x)
x is an expression converted to SIGNED FIXED BIN (15).
DCL WC WCHAR (1); DCL C CHAR (1); WC = WCHARVAL(65); PUT SKIP LIST (HEX(WC)); /* 0041 */ C = WC; PUT SKIP LIST(C); /* A */
None.
Description
The WCHARVAL function converts an expression to FIXED BIN(15) and returns the corresponding WIDECHAR(1) character.