what is the difference between stop and end statement?
The end statement is the last line of the program or function. The stop or return statements are used for normal termination and exit is used for abnormal termination.