Yes—each "count" of the loop matches one slot of the array.
Here are those two interesting facts, again:
If you want to do something to each item in an array, use a counting loop. Here is a sample program:
DIM NUM( 1 TO 10 ) ' An array of 10 floating point numbers FOR COUNT = 1 TO _____ ' Visit each slot of the array LET VAL( COUNT ) = _________ ' Put the value 13.33 into this slot NEXT COUNT END
The sample program puts 13.33 into each slot of the array:
VAL( 1 )
VAL( 2 )
VAL( 3 )
VAL( 4 )
VAL( 10 )
Fill in the blanks of the program.