6.4.05

Arrays

A list of names or values is an Array

NAMES

  1. woodrow
  2. joe
  3. kia
  4. etc
  5. ect

Print
Names(I)
Test1(I)

The number that we use to refer to the Array is called a subscript or index. So the "I" in Names(I) is the subscript to the array. Array is a list fo variable sni compueter memroy wich have the same name but differd by #s. When an array is declared it had mult. variables allocated to it. Each variable in array is an element. Elements occupy same area in memory adjacent to other ins the array. # of elements gives size or dimensino of array when u declare it with the other variables too. Elements have same group name but each is unique and has unique subscript there fore their distance can be determined.


0 Comments:

Post a Comment

<< Home