![]() |
![]() |
![]() |
![]() |
![]() |
This function converts an integer value in the range of 0 ... 127 (8-bit encoding) into a character value of ISO/IEC 646. The integer value describes the 8-bit encoding of the character.
Related keyword:
int2char(integer value) return charstring |
The function returns -1 if the value of the argument is a negative or greater than 127.
Example 1:
var charstring MyChar;
...
MyChar := int2char(97); // MyChar will contain the character 'a'