I want to thank everyone for their input.
This is the start of the program. I think the Dim statements are the only declarations.
10 B$ = Chr$(7)
Dim CL(20), CW(20), ES(20), FR(20), LS(20), RS(20), SP(20), XX(20), Z1(20), Z2(20), Z3(20), Z5(20), Z6(20), Z7(20)
Dim CM(20), CN(20)...