Node:MedBool, Next:MedCard, Previous:MaxReal, Up:Reference

### MedBool

#### Synopsis

    type
      MedBool = Boolean attribute (Size = BitSizeOf (MedInt));

#### Description

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.

#### Conforming to

`MedBool` is a GNU Pascal extension.

#### Example

    program MedBoolDemo;
    var
      a: MedBool;
    begin
      MedInt (a) := 1;
      if a then WriteLn ('Ord (True) = 1')
    end.

#### See also

Boolean (Intrinsic), Boolean, True, False, CBoolean, ByteBool, ShortBool, WordBool, LongBool, LongestBool.