>>-CHARVAL--(--n--)--------------------------------------------><
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).