Next: , Previous: Chr, Up: Reference



CInteger

Synopsis

     type
       CInteger  { built-in type }

Description

CInteger is a signed integer type. On some platforms it is 32 bits wide and thus has a range of -2147483648 .. 2147483647.

CInteger in GNU Pascal is compatible to int in GNU C.

There are lots of other integer types in GPC, see Integer Types.

Conforming to

CInteger is a GNU Pascal extension.

Example

     program CIntegerDemo;
     var
       a: CInteger;
     begin
       a := 42;
       WriteLn (a)
     end.

See also

Integer Types, Subrange Types.