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

## 9.250 ShortCard

### Synopsis

    type
      ShortCard = Cardinal (BitSizeOf (ShortInt));

### Description

``ShortCard'` is an unsigned integer type which is not larger than ``Cardinal'`. On most platforms it is 16 bits wide and thus has a range of ``0..65535'`.

``ShortCard'` in GNU Pascal is compatible to ``short unsigned int'` in GNU C.

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

### Conforming to

``ShortCard'` is a GNU Pascal extension.

### Example

    program ShortCardDemo;
    var
      a: ShortCard;
    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