A type defines a set of values and a set of applicable operations. There is also a predefined
set of attributes that are used to give information about the values included in the type.
Attributes are written by following the type name with a quote mark (') and the attribute
name. The value of an attribute can be used in calculations in a model. We now look at
some of the attributes defined for the types we have discussed in this chapter.
First, there are a number of attributes that are applicable to all scalar types and provide
information about the range of values in the type. If we let T stand for any scalar type or
subtype, x stand for a value of that type and s stand for a string value, the attributes are