END (Statement)


Declare the end of motion executed by a program.


END


This statement declares the end of motion executed by a program, which does not mean to end the program file.
When subroutines are arranged collectively following a main routine, this statement should be used to separate subroutines from the main routine.
When no subroutine is used, omitting the END statement allows the program to proceed assuming that the final line includes an END statement.



DEFSNG lf1, lf2, lf3
PROGRAM prog1(lf1, lf2, lf3)
END
'End prog1


Top