There is no programming example for the STOP statement. To see the various ways QuickBASIC can stop or suspend program execution, look at help for the topic.