[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 9.156 MedInt

### Synopsis

    type
      MedInt  { built-in type }

### Description

``MedInt'` is a signed integer type which is not smaller than ``Integer'`. On most platforms it actually is the same as ``Integer'` and 32 bits wide and thus has a range of ``-2147483648..2147483647'`.

``MedInt'` in GNU Pascal is compatible to ``long int'` in GNU C. This compatibility is the reason why ``MedInt'` exists.

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

### Conforming to

``MedInt'` is a GNU Pascal extension.

### Example

    program MedIntDemo;
    var
      a: MedInt;
    begin
      a := 42;
      WriteLn (a)
    end.

### See also

section 8.2.3 Integer Types, section 8.2.10.1 Subrange Types.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html