Chapter 7 Summary


[Page 401 (continued)]

  1. For programming purposes, tabular data are most efficiently processed if stored in an array. An array is declared with a Dim statement, which also can specify its size and initial values. The size of an already declared array can be specified or changed with a ReDim or ReDim Preserve statement. The highest subscript of the array is called its upper bound and is returned with the GetUpperBound(0) method. The Clear statement releases all memory allocated to an array.

  2. An array of labels, text boxes, or buttons is referred to as a control array.

  3. A structure is a composite programmer-designed data type with a fixed number of fields, each of which can be of any data type.


  4. [Page 402]
  5. Two of the best-known methods for ordering (or sorting) arrays are the bubble sort and the Shell sort.

  6. Any array can be searched sequentially to find the subscript associated with a sought- after value. Ordered arrays can be searched most efficiently by a binary search.

  7. A table can be effectively stored in a two-dimensional array.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net