Next: , Previous: CBoolean, Up: Reference



CCardinal

Synopsis

     type
       CCardinal  { built-in type }

Description

CCardinal is an unsigned integer type. On some platforms it is 32 bits wide and thus has a range of 0 .. 4294967295.

CCardinal in GNU Pascal is compatible to unsigned int in GNU C.

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

Conforming to

CCardinal is a GNU Pascal extension.

Example

     program CCardinalDemo;
     var
       a: CCardinal;
     begin
       a := 42;
       WriteLn (a)
     end.

See also

Integer Types, Subrange Types.