Professional Documents
Culture Documents
stored in memory.
· Arrays are also called tables.
array.
· Each element is numbered beginning with the
number zero. Example, 0, 1, 2, 3, etc.
· The number referring to an array element is placed inside parentheses
Debug.WriteLine(SchoolNameString )
Next SchoolNameString
• The index data type must match the array data type, i.e., for a string array
the index should be a string index, for an integer array the index should be
an integer, etc.
• · This above example declares SchoolNameString as a string variable
index and then immediately uses it to search the SchoolString array.
Structures
•A structure object allows you to combine fields of related data
into a single object – you can combine data of type integer,
decimal, string, color, radio button, and other data types. This
allows you to create your own, unique data types.
• · Structures are public by default, but you can also
declare private structures.
• · This example defines a Product structure that might be