Purpose
 
		 
		 Returns a WIDECHAR(1) character value corresponding to an integer value. 
		
 
	  
 
	 
 
	 Parameters
 
		 
		x is an expression converted to SIGNED FIXED BIN (15). 
		
 
		Note:  UNSIGNED FIXED BIN (16) is not a currently supported data type. 
		
 
 
	  
 
	 
 
	 Examples
 
		 
		DCL WC WCHAR (1);
DCL C  CHAR (1);
WC = WCHARVAL(65);
PUT SKIP LIST (HEX(WC));   /* 0041 */
C = WC;
PUT SKIP LIST(C);          /* A    */
 
	  
 
	 
 
   
 
Description
The WCHARVAL function converts an expression to FIXED BIN(15) and returns the corresponding WIDECHAR(1) character.