type Char { built-in type }
The built-in type Char
holds elements of the operating
system's character set (usually ASCII). The Char
type is a
special case of ordinal type. Conversion between character types and
ordinal types is possible with the built-in functions Ord
and
Chr
.
Char
is defined in ISO 7185 Pascal and supported
by all known Pascal variants.
program CharDemo; var a: Char; begin a := 'x'; WriteLn (a) end.