How to: |
The INT2CHAR function translates an integer into the equivalent ASCII or EBCDIC character, depending on the operating system.
INT2CHAR(value)
where:
Is the integer to translate into its equivalent ASCII or EBCDIC character.
INT2CHAR translates the integer value 93 into its character equivalent.
MAINTAIN CHAR/A1=INT2CHAR(93); TYPE "CHAR IS <CHAR"; END
On an ASCII platform, the result would be a right bracket (]). On an EBCDIC platform, the result would be a right parenthesis.