Field (computer science)

In data hierarchy, a field (data field) is a variable in a record.[1] A record, also known as a data structure, allows logically related data to be identified by a single name. Identifying related data as a single group is central to the construction of understandable computer programs.[2] The individual fields in a record may be accessed by name, just like any variable in a computer program.[3]

Each field in a record has two components. One component is the field's datatype declaration. The other component is the field's identifier.[4]

  1. ^ Jensen, Kathleen; Wirth, Niklaus (1974). PASCAL User Manual and Report. Springer-Verlag. p. 42. ISBN 0-387-90144-2. [A] record is a structure consisting of a fixed number of components, called fields.
  2. ^ Wilson, Leslie B.; Clark, Robert G. (2001). Comparative Programming Languages, Third Edition. Addison-Wesley. p. 169. ISBN 0-201-71012-9. Being able to structure data in this way is central to the construction of understandable programs.
  3. ^ Wilson, Leslie B.; Clark, Robert G. (2001). Comparative Programming Languages, Third Edition. Addison-Wesley. p. 169. ISBN 0-201-71012-9.
  4. ^ Jensen, Kathleen; Wirth, Niklaus (1974). PASCAL User Manual and Report. Springer-Verlag. p. 42. ISBN 0-387-90144-2.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search