Node:Integer, Next:interface, Previous:Int, Up:Reference

### Integer

#### Synopsis

    type
      Integer  { built-in type }

#### Description

`Integer` is the "natural" signed integer type in GNU Pascal. On most platforms it is 32 bits wide and thus has a range of `-2147483648 .. 2147483647`. Use it whenever you need a general-purpose signed integer type.

`Integer` in GNU Pascal is compatible to `Int` in GNU C.

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

#### Conforming to

In ISO Pascal, `Integer` is the only built-in integer type. (However see Subrange Types.)

#### Example

    program IntegerDemo;
    var
      a: Integer;
    begin
      a := 42;
      WriteLn (a)
    end.

#### See also

Integer Types, Subrange Types.