The STOP statement will terminate a program immediately, displaying "BREAK" in the console window.
The END statement, to indicate the end point of the program, used to end the program without any indication that a running program reached the end (is the program done or is the program busy? No way to know.)
Now, the END statement prints to the console "Program End." To indicate that a program has reached the end of the source code, it is a really good idea to include an END statement, letting a user know a program is actually done running.
No comments:
Post a Comment