Char type


A character type can represent a single character. The following operators can be used on character types:

For example, the following expression is false:

('a' = 'A')

To get an ASCII code of a character, use ord function. To create a character from the ASCII code use chr function.