Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

CHARVAL

CHARVAL returns the CHARACTER(1) value corresponding to an integer.

Read syntax diagramSkip visual syntax diagram>>-CHARVAL--(--n--)--------------------------------------------><
 
n
Expression converted to UNSIGNED FIXED BIN(8) if necessary.

CHARVAL(n) has the same bit value as n (that is, UNSPEC(CHARVAL(n)) is equal to UNSPEC(n)), but it has the attributes CHARACTER(1).

CHARVAL is the inverse of RANK (when applied to character).


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)