Before defining the specifies of the data type and data structures,let us first define a term that will be used throughout this text. A data value is a piece of a data that we consider, perhaps only momenarily ,as a single entity. We might consider, for example the integer value 593 as a single data value.
The set { 32.99,-1.04,0.396} might be considerd in its entirety a single data value. It might also be considered to be composed of three distinct component values that are somehow related. In this case, theri relationships to each other are that they are members of the same set. If we decompose a data value as we have done with the set value, we need term for the pieces that result.Each piece is a value fo another data type in this case real. We will call these component values component elements, or simply elements.
2:
在定义数据数据结构和数据类型的一些特点之前,先让我们来定义在全文中都要用到的一些术语. 数据值:一个数据值就是一个可以暂时看作是单独的整体的一个数据段,例如,我们可以把整数593看作上单独的数据值.
集合{3299,01,04,0.396} 可以看作上从整体上看可以看作是一个单独的数据值.当然,他也可以看作是三个以莫种关系相关联的不同的部分成.在这个例子中,他们之间的关系就是是同一个集合的成员.假如我们象分解一个集合的值来分解一个数据值的话,我们必须定义一个术语来描述结果的数据段. 每个数据段就是另一个数据类型的值(这个例子就是real型).我们称这些组成部分为组成元素,简称元素.