Report if (i<x.length-1) in XML Posted November 30, 2012 I read it thoroughly the first time. I still didn't understand it. Rereading it however I see this: Statement 1 is executed before the loop (the code block) starts.Statement 2 defines the condition for running the loop (the code block).Statement 3 is executed each time after the loop (the code block) has been executed. and it makes more sense now. This sort of clears things up for me. Thanks for linking to that specific page!