fdds_prterr - print an error message
SYNOPSIS
#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)
integer function fdds_prterr(fmt, ...)
-
character*(*) fmt
DESCRIPTION
fdds_prterr writes an error message to the console.
If the print file has been opened, the program name will be indicated
on each line and 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).
An error message will cause fdds_closepr to print an abnormal
termination message. The return value is always 0.
EXAMPLES
integer :: ier
real :: si
...
ier = fdds_prterr('Illegal sample interval = %f\n\0', si)
SEE ALSO
fdds_openpr Open a printfile
fdds_savepr Redirect to printfile
fdds_prthdr Print header
fdds_sprintf Print to string
fdds_prtmsg Print a message
fdds_prtcon Print to console
fdds_errors Query errors
fdds_info Control printing
fdds_closepr Close printfile
AUTHOR
Jerry Ehlers, BP America (May 2003)