fdds_prtcon - print a message to the console


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer function fdds_prtcon(fmt, ...)

character*(*) fmt

DESCRIPTION

fdds_prtcon writes a message to the console. The program name will be indicated on each line of the message. If the print file has been opened, the message will also be written to the print file. The message is based on the format string, fmt, and optional arguments (see fdds_printf). The return value is always 0.

EXAMPLES

      integer        ier,pct
      ...
      if (fdds_errors().eq.0) then
         ier=fdds_prtcon('%3d%% Complete\n\0',pct)
      endif
    

SEE ALSO

fdds_openpr Open a printfile
fdds_prtmsg Print a message
fdds_prterr Print error message
fdds_errors Query errors
fdds_closepr Close printfile
fdds_printf Print definitions
    

AUTHOR

Jerry Ehlers, BP America (May 2003)