[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
type LongInt { built-in type } |
`LongInt' is a signed integer type which is longer than `Integer'. On most platforms it is 64 bits wide and thus has a range of `-9223372036854775808..9223372036854775807'.
`LongInt' in GNU Pascal is compatible to `long long int' in GNU C.
There are lots of other integer types in GPC, see section 8.2.3 Integer Types.
`LongInt' is a Borland Pascal extension. Borland Pascal defines `LongInt' as a 32-bit signed integer type (section 9.125 Integer in GNU Pascal).
program LongIntDemo; var a: LongInt; begin a := 42; WriteLn (a) end. |
section 8.2.3 Integer Types, section 8.2.10.1 Subrange Types.