Node:LongInt, Next:LongReal, Previous:LongestWord, Up:Reference

### LongInt

#### Synopsis

    type
      LongInt  { built-in type }

#### Description

`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 Integer Types.

#### Conforming to

`LongInt` is a Borland Pascal extension. Borland Pascal defines `LongInt` as a 32-bit signed integer type (Integer in GNU Pascal).

#### Example

    program LongIntDemo;
    var
      a: LongInt;
    begin
      a := 42;
      WriteLn (a)
    end.

#### See also

Integer Types, Subrange Types.