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

9.10 AnsiChar

Synopsis

 
type
  AnsiChar = Char;

Description

`AnsiChar' is an 8 bit char type. Currently, it is the same as `Char', but this might change in the future, once `wide chars' (16 bit chars) will be introduced into GPC. Depending on the platform, `Char' might be either `AnsiChar' or `WideChar' then.

Conforming to

`AnsiChar' is a Borland Delphi extension.

Example

 
program AnsiCharDemo;
var
  A: AnsiChar;  { There is nothing special with `AnsiChar'. }
  B: Char;
begin
  A := 'A';
  A := B
end.

See also

section 9.190 PAnsiChar, section 9.39 Char.



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