type MedBool = Boolean attribute (Size = BitSizeOf (MedInt));
The intrinsic MedBool represents boolean values, but occupies the same memory space as a MedInt. It is used when you need to define a parameter or record that conforms to some external library or system specification.
MedBool is a GNU Pascal extension.
program MedBoolDemo; var a: MedBool; begin MedInt (a) := 1; if a then WriteLn ('Ord (True) = 1') end.
Boolean (Intrinsic), Boolean, True, False, CBoolean, ByteBool, ShortBool, WordBool, LongBool, LongestBool.