Transcription of Chapter 6 Data Type
{{id}} {{{paragraph}}}
Chapter 6 Data Type Chapter 6 Topics Introduction Primitive Data Types Character String Types User-Defined Ordinal Types Array Types Associative Arrays Record Types Union Types Pointer and Reference Types Chapter 6 Data Type Introduction A data type defines a collection of data objects and a set of predefined operations on those objects. Computer programs produce results by manipulating data. ALGOL 68 provided a few basic types and a few flexible structure-defining operators that allow a programmer to design a data structure for each need. A descriptor is the collection of the attributes of a variable.
Elements are added to this object with the Add method, as in intArray.Add(nextOne); Perl and JavaScript also support heap-dynamic arrays. For example, in Perl we could create an array of five numbers with @list = {1, 2, 4, 7, 10); Later, the array could be lengthened with the push function, as in push(@list, 13, 17);
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}