Each attribute has a corresponding attribute specification statement, and the syntax diagram provided for the attribute illustrates this form. An entity can also acquire this attribute from a type declaration statement or, in some cases, through a default setting. For example, entity A, said to have the PRIVATE attribute, could have acquired the attribute in any of the following ways:
REAL, PRIVATE :: A ! Type declaration statement PRIVATE :: A ! Attribute specification statement MODULE X PRIVATE ! Default setting REAL :: A END MODULE
The following table maps out the compatibility of attributes. An "X" indicates whether an entity can have the attributes indicated both horizontally and vertically.