Epi Info™ User Guide

Command Reference


Analysis Commands: QUIT

Description
This command closes the current data files and terminates the current program, closing Classic Analysis.

Syntax
QUIT

Program Specific Features
Quit will stop the execution of a program and close Classic Analysis. If there is no QUIT at the end of a .PGM program, Classic Analysis continues to run and offer user-interaction.

Example

To try the code example below, copy and paste the code example into the Classic Analysis Program Editor and click Run Commands.

In the example below, you are presented with a dialog box asking if you want to close Analysis.  If you select ‘Yes’, then Classic Analysis quits.

READ {.\Projects\Sample\Sample.prj}:Oswego
DEFINE Results YN 
DIALOG "Do you wish to close Analysis?" Results YN 
IF Results = (+) THEN 	
     QUIT
END
Page last reviewed: September 16, 2022, 12:00 pm