Program structure
The program structure must be :
declarations with DIM
Functions and Subs, in the correct order. That is : if sub a() calls sub b(), then the definition of b must precede the definition of a.
main program and other code
If INCLUDE is used, the entire program with all the inclusions must conform to this structure.