9.3.2 ACHAR (I)

Description:  Returns the character in a specified position of the ASCII character set. It is the inverse of the IACHAR function. 
Class:  Elemental function; Generic 
Arguments:  I must be of type integer. 
Results:  The result type is character of length 1 with the kind parameter value of KIND ('A').

If I has a value within the range 0 to 127, the result is the character in position I of the ASCII character set. ACHAR (IACHAR(C)) has the value C for any character C capable of representation in the processor. 

Examples

ACHAR (71) has the value 'G'.

ACHAR (63) has the value '?'.


Previous Page Next Page Table of Contents