step 1: read the loops tutorial.
step 2: post your code.
*edit* you can declare (and initialize) the variable before the loop. You probably are initializing it at the beginning of the code block within the loop.*edit*

Last edited by CodeMonkey; 01-17-2007 at 09:46 PM.

"If you tell the truth, you don't have to remember anything"
-Mark Twain