Titan



char2int


This function converts a charstring value of ISO/IEC 646 into an integer value in the range of 0 ... 127. The integer value describes the 8-bit encoding of the character.


Related keyword:


char2int(charstring value) return integer


Example 1:

var integer MyInt;
...
   MyInt := char2int("a"); // MyInt will be equal to 97