for loop and array

nissan200sx:
would all read values not just be in "sensor" and be overwritten each tiime?

I don't understand what was in your mind when you wrote that.

Maybe you can post a program that illustrates how you are thinking of using sensor (I presume that is the name of a variable)

...R