This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Brian Altman, please do not delete or modify the original question after you resolve an issue you were facing (either yourself or by help of other Ranchers). For someone who might read the thread later it can seem strange seeing answer(s) without any information about the original problem.
Welcome to the Ranch!
The quieter you are, the more you are able to hear.
Brian Altman wrote:Thanks for the quick reply Jeff!
My eyes were going crazy from looking over that code.
That extra semicolon can be hard to spot. What made it easy was the error message. It said the variable "i" wasn't defined, but obviously it was, so we must have been out of i's scope, so we look for what that scope actually is, then end result of which must be that either there's a semicolon, as you had, or there isn't, but we're referring to "i" after the for loop's closing } brace.