STOP causes the TSP program to stop. If any variables are marked for storage on output databanks, they are written to the databank before the program stops.
STOP ;
Usage
Often, older TSP programs include a STOP statement at the end of the program section before the END statement that separates the TSP program section from the data section. This STOP statement is no longer required, since the END statement itself implies a STOP.
However, if you want to stop somewhere else in your TSP program, you can do this by using a STOP statement at any time. This can be convenient if you encounter an error and wish to abort the program. If you put a STOP statement at the beginning of your TSP program, TSP will check your whole program for syntax and then stop as soon as it reaches execution. This can be useful for debugging long programs.
Output
STOP produces no printed output. If output databanks have been used, variables are stored on them before stopping the program.
Here is an example of using STOP to check a TSP program for syntax:
STOP ; ? Abort execution before doing anything
SMPL 1 1000 ;
........ long involved TSP program including complex equations, etc. .......
END ;