Understanding how the Compiler Works
•The compiler reads each line sequentially (word by word). As soon as it finds a syntax error it generates a message and moves on to the next line. This explains why sometimes after you fix an error on one line, you get an error on the same line that wasn't there before.
•The compiler will continue to check all the lines of a Macro, even after it has encountered errors. This is useful for experienced users who can sort out which messages are caused by previous messages (garbage in, garbage out), and which messages are bona fide messages that they may as well take care of now before re-compiling.
Until you have enough confidence, based on the above, the suggested way of treating compiler messages is to start at the top, address the first message, recompile immediately and start again.