Next: , Previous: LongBool, Up: Reference



LongCard

Synopsis

     type
       LongCard = Cardinal attribute (Size = BitSizeOf (LongInt));

Description

LongCard is an unsigned integer type which is longer than Cardinal. On some platforms it is 64 bits wide and thus has a range of 0 .. 18446744073709551615.

LongCard in GNU Pascal is compatible to long long unsigned int in GNU C.

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

Conforming to

LongCard is a GNU Pascal extension.

Example

     program LongCardDemo;
     var
       a: LongCard;
     begin
       a := 42;
       WriteLn (a)
     end.

See also

Integer Types, Subrange Types.