[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
type LongCard = Cardinal (BitSizeOf (LongInt)); |
`LongCard' is an unsigned integer type which is longer than `Cardinal'. On most 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 section 8.2.3 Integer Types.
`LongCard' is a GNU Pascal extension.
program LongCardDemo; var a: LongCard; begin a := 42; WriteLn (a) end. |
section 8.2.3 Integer Types, section 8.2.10.1 Subrange Types.