Character Type

Use the Character primitive type to define a variable as a single ANSI or Unicode character. The following example shows the use of the Character primitive type.

testCharacter();
vars
    charValue : Character;
begin
    charValue := "M";              // Defines the variable value
    write charValue;               // Outputs a value of M
    write charValue.isLower;       // Outputs a value of false
    write charValue.isAlpha;       // Outputs a value of true
    write charValue.toLower;       // Outputs a value of m
end;

For details about the methods defined in the Character primitive type, see "Character Methods", in the following subsection. For details about converting primitive types, see "Converting Primitive Types", in Chapter 1 of the JADE Developer’s Reference.