Arduino altitude BMP 180. For loop help

If the most recent reading is the same as the last reading, don't store it.