CHARVAL Function

CHARVAL is functionally the same as the BYTE built-in function.