.pg .x end .x end > module .x end > procedure .x end > if .x end > loop .x end > for .x end > while .x end > do .x end > case .x end > struct .x end > union .x end > map .x end > psect .x end > data .lt ------------------------------------------------------------------------ END [structure] ------------------------------------------------------------------------ .el .b 3 The END macro will generate the appropriate labels and end the corresponding control structure. .b For example: .b .lt loop statements end .el .b will END the corresponding LOOP macro. In this example, the following: .b .lt loop statements end loop -and- loop statements endloop .el .b are equivalent to the above example. .b The following is a list of macros that must have a corresponding END macro: .b ^& .lt Macro End Macro Alternate Forms .el \& .b .lt structure ENDstructure END END structure MODULE ENDMODULE END END MODULE PROCEDURE ENDPROCEDURE END END PROCEDURE IF ENDIF END END IF LOOP ENDLOOP END END LOOP FOR ENDFOR END END FOR WHILE ENDWHILE END END WHILE DO ENDDO END END DO CASE ENDCASE END END CASE STRUCT ENDSTRUCT END END STRUCT UNION ENDUNION END END UNION MAP ENDMAP END END MAP PSECT ENDPSECT END END PSECT DATA ENDDATA END END DATA .el .b The MODULE or PROCEUDRE macro must have a correspoinding BEGIN macro If the MODULE or PROCEDURE is the last MODULE or PROCEDURE in your source file, the .END instruction may be used to end the MODULE or PROCEDURE.