type ShortCard = Cardinal attribute (Size = BitSizeOf (ShortInt));
ShortCard is an unsigned integer type which is not larger than Cardinal. On some 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 Integer Types.
ShortCard is a GNU Pascal extension.
program ShortCardDemo; var a: ShortCard; begin a := 42; WriteLn (a) end.
Integer Types, Subrange Types.