%N pgask %F $MIR/src/pgask.f
%D Control new page prompting
%B
      SUBROUTINE PGASK (FLAG)
      LOGICAL FLAG

 Change the ``prompt state'' of PGPLOT. If the prompt state is
 ON, PGPAGE will type ``Type RETURN for next page:'' and will wait
 for the user to type a carriage-return before starting a new page.
 The initial prompt state (after the device has been opened) is ON
 for interactive devices. Prompt state is always OFF for
 non-interactive devices.

 Arguments:
  FLAG   (input)  : if .TRUE., and if the device is an interactive
                    device, the prompt state will be set to ON. If
                    .FALSE., the prompt state will be set to OFF.
