ACHAR
— Character in ASCII collating sequenceACHAR(I)
returns the character located at position I
in the ASCII collating sequence.
RESULT = ACHAR(I [, KIND])
I | The type shall be INTEGER .
|
KIND | (Optional) An INTEGER initialization
expression indicating the kind parameter of the result.
|
CHARACTER
with a length of one.
If the KIND argument is present, the return value is of the
specified kind and of the default kind otherwise.
program test_achar character c c = achar(32) end program test_achar