EGL maintains the strLib.charAsInt() system
function for compatibility with I4GL.
The function returns a character that corresponds to an integer
code point (numeric representation), based on the local character
set where the function runs:
- In ASCII environments, the function returns the ASCII code for
the character.
- In EBCDIC environments, the function returns the EBCDIC code.
This function allows you to place a control character (such as
BEL or FF) into a variable so you can send it to a console or printer.
The complementary function strLib.charAsInt() returns
the code point for a character.