[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.41 Chr

Synopsis

 
function Chr (AsciiCode: Integer): Char;

Description

`Chr' returns a character whose ASCII code corresponds to the value given by `AsciiCode'.

Conforming to

`Chr' is defined in ISO-7185 Pascal and supported by all known Pascal variants.

Example

 
program ChrDemo;
var
  x: Integer;
begin
  for x := 32 to 122 do
    Write (Chr (x))
end.

See also

section 9.181 Ord



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html