doc-src/Ref/introduction.tex
author wenzelm
Thu, 24 Mar 2011 13:54:39 +0100
changeset 42081 21697a5cb34a
parent 39838 eb47307ab930
permissions -rw-r--r--
indentation;


\chapter{Basic Use of Isabelle}

\section{Ending a session}
\begin{ttbox} 
quit    : unit -> unit
exit    : int -> unit
commit  : unit -> bool
\end{ttbox}
\begin{ttdescription}
\item[\ttindexbold{quit}();] ends the Isabelle session, without saving
  the state.
  
\item[\ttindexbold{exit} \(i\);] similar to {\tt quit}, passing return
  code \(i\) to the operating system.

\item[\ttindexbold{commit}();] saves the current state without ending
  the session, provided that the logic image is opened read-write;
  return value {\tt false} indicates an error.
\end{ttdescription}

Typing control-D also finishes the session in essentially the same way
as the sequence {\tt commit(); quit();} would.

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "ref"
%%% End: