fdds_prtmsg - print a message


SYNOPSIS

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

integer function fdds_prtmsg(fmt, ...)

character*(*) fmt

DESCRIPTION

fdds_prtmsg writes a message to the print file if it has been opened, otherwise, the message is written to the console. The message is based on the format string, fmt, and optional arguments (see fdds_printf). The return value is always 0.

EXAMPLES

      integer :: ier,offset
      real    :: angle
      ...
      ier=fdds_prtmsg('offset = %i azimuth=%f\n\0',offset,angle)
    

SEE ALSO

fdds_openpr Open a printfile
fdds_savepr Redirect to printfile
fdds_prthdr Print header
fdds_sprintf Print to string
fdds_prtcon Print to console
fdds_prterr Print error message
fdds_errors Query errors
fdds_info Control printing 
fdds_closepr Close printfile
    

AUTHOR

Jerry Ehlers, BP America (May 2003)