{smcl}
{* 06jun2013}{...}{* b8b7027f-bf5d-4551-b1f1-4fa8231e32af}
{cmd:help exi3}
{hline}

{title:Title}

{p2colset 5 17 19 2}{...}
{p2col : {cmd: exi3} {hline 2} Exit Stata with a chance to save data.}
{p2colreset}{...}


{title:Syntax}

{p 8 14 2}
{cmd:exi3}

{title:Description}

{pstd}
{cmd:exi3} is intended to close Stata session. It checks if there are any unsaved changes to the dataset currently in memory and asks the user if the changes need to be saved or can be discarded. The third option (cancel) cancels the exit operation and allows the user to stay in the active Stata session{p_end}

{title:Options}

{phang}
There are no options.
{p_end}

{title:Author}

{p 4} Sergiy Radyakin {p_end}
{p 4} DECRG, The World Bank, Washington DC, USA {p_end}
{p 4} sradyakin(at)worldbank.org {p_end}


{title:Examples}

{phang}{cmd:. sysuse auto}{p_end}
{phang}{cmd:. generate x=1}{p_end}
{phang}{cmd:. exi3}{p_end}


{title:Also see}

{psee}

Manual:  [R] exit

Online: {helpb exit}
