| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 5 of 17 [next] |
|
|
| 1, 2, 3, 4, [5 (top)], 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, [Lab] |
|
Notes for Slide 05 There are more topics to cover with array variables than with non-array variables because you need to set the number of elements (the size) and you might want to also get the number of elements from an array. Probably one of the trickiest parts of using arrays is that the first element is referred to as the element in location zero. Although you would think that the first element should be in location one, the computer wants to know how far away the element is from the beginning, and the first element is a distance of zero from the beginning. 1, 2, 3, 4, [5 (top)], 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, [Lab] |