Compile error

It would be much easier to help you if you fixed the formatting and included all code so that we can see the line numbers as referenced by the compiler.