Replacing multiple statements with a loop - Syntax incorrect?

Printable View