Next: , Previous: and_then, Up: Reference



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

PAnsiChar, Char.