Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition
by Paul J. Deitel - Deitel & Associates, Inc., Harvey M. Deitel - Deitel & Associates, Inc.
8.16. Wrap-Up
This chapter began our discussion of data structures, exploring the use of arrays to store data in and retrieve data from lists and tables of values. The chapter examples demonstrated how to declare an array, initialize an array and refer to individual elements of an array. We showed how to pass arrays to methods using ByVal and ByRef. We also showed how to use the For Each...Next statement to iterate through the values in an array without using an index. We explained how to declare and manipulate rectangular arrays and jagged arrays. We wrote methods that use variable-length parameter lists. Finally, we demonstrated how to use the ReDim statement to dynamically change an array’s size.
Chapter 24, Data Structures introduces dynamic ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access