\HeaderA{grid.prompt}{Prompt before New Page}{grid.prompt}
\keyword{dplot}{grid.prompt}
\begin{Description}\relax
This function can be used to control whether the user
is prompted before starting a new page of output.
\end{Description}
\begin{Usage}
\begin{verbatim}
grid.prompt(ask)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{ask}] a logical value.  If \code{TRUE}, the user
is prompted before a new page of output is started. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Yhis is deprecated in favour of \code{\LinkA{devAskNewPage}{devAskNewPage}} as a
single setting inside the device affects both the base and grid
graphics systems.

The default value when a device is opened is taken from the
setting of \code{\LinkA{options}{options}("device.ask.default")}.
\end{Details}
\begin{Value}
The current prompt setting \emph{before} any new setting is applied.
\end{Value}
\begin{Author}\relax
Paul Murrell
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{grid.newpage}{grid.newpage}}
\end{SeeAlso}

