{currenthelptext} {product} {helptype} {viewcore}
Stop
Ends execution of the program
The Stop statement can be placed anywhere in your code.
More:
Example - Stop Statement