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.
It doesnt matter how messy your code looks (although it is best to keep it organized. As long as you have all the correct ; and correct syntax it should work. The ';' tells the program that this is the end of the command. It reads everything up to the semi-colon (starting from the last point it left off) so you could have all your code on one line if you wanted to.