type MedWord = MedCard;
MedWord is an unsigned integer type which is not smaller than Word. On some platforms it actually is the same as Word and 32 bits wide and thus has a range of 0 .. 4294967295. It is the same as MedCard.
MedWord in GNU Pascal is compatible to long unsigned int in GNU C. This compatibility is the reason why MedWord exists.
There are lots of other integer types in GPC, see Integer Types.
MedWord is a GNU Pascal extension.
program MedWordDemo; var a: MedWord; begin a := 42; WriteLn (a) end.
MedCard, Integer Types, Subrange Types.