Only comments, directives, and declarations are permitted outside procedures. This error has the following cause and solution:
Any nondeclarative lines outside a procedure must begin with a comment delimiter ('). Declarative statements must appear before the first procedure declaration. Comments are ignored when the code executes.
For additional information, select the item in question and press F1.