Okay, so I'm brand new to coding Arduino, and I'm sure what I'm trying to do has a straightforward solution that I'm overlooking. What I want to do is place a list of, say, 100 or so different numbers in my sketch. I will also have a for loop in the sketch containing a variable set equal to the first number in the list. The thing is, each time the for loop is run, I want the variable to be set equal to the next number down in the list. Say the list looked like this:
3
19
11
6
The first time my for loop is run, I want the variable to be set to 3. The second time it loops, the variable should be equal to 19, then 11 and so on. any suggestions as to how could accomplish this or something similar while still keeping the code as short as possible?