ACHAR(I)

Purpose

Returns the character in a specified position of the ASCII collating sequence. It is the inverse of the IACHAR function.

Class

Elemental function

Argument Type and Attributes

I
must be of type integer.

Result Type and Attributes

Character of length one with the same kind type parameter as KIND ('A').

Result Value

Examples

ACHAR (88) has the value 'X'. IBM Copyright 2003