ON STOPStatement
Syntax
DescriptionThis statement designates a particular function or subroutine as a stop-event handling routine. A stop-event handling routine is called just before your program ends. This works whether your program ends as a result of a statement (such as <spacer type="vertical" size="1">A stop-event handling routine is useful for allowing your program to do any last-minute "clean-up" work, such as saving files, before your program ends. Note: See AlsoON BREAK; STOP; END; SYSTEM statement |