Since each pass through the loop involves checking for the same number of steps (4), could a stop option in the repeat statement be helpful? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com