analog Value's into Array?

Hello everyone,

Quick question for you - I need to pass 5 integers into an array to fill spots [0] - [4] respectively, and constantly update every time the loop is run. The value's come from a Thermistor, and I'd like to be able to compare array locations 0 and 4, so I can determine if the most current reading is lower than a reading 5 seconds ago. (I'll then be able to tell if something is beginning to cool off ...)

EDIT: ah .. I think I've got it for the most part - the Smoothing example is quite useful here.

Any other ways would be cool to check out though - cheers