Increment Up and then back down

Hi,

I'm not sure what to search for or call this effect. But I'm trying to count up to 200 and then back down on an arduino automatically. So the arduino goes 0,1,2,3,4....200,199,198,197...0. Does that make sense? I thought I could do it with a simple if statement. But I get hung up trying to come back down.

Thanks,

Look at the "for" statement.
http://www.arduino.cc/en/Reference/For

Ah, that awkward moment when...

Thank you