Next: Reporting messages
Up: MSG - Message Reporting System
Previous: MSG - Message Reporting System
Overview
The most obvious way of producing informational messages from within
Fortran application programs is through formatted WRITE and PRINT
statements.
However:
- It is generally considered a good idea in a large system to direct
all output through a single routine to improve portability and to make
re-direction of output easier.
- Some environments, such as ADAM, require output via a `user-interface'
program and not direct to the terminal.
- It is sometimes difficult to format numerical output in its most
concise form within textual messages.
To do this in-line each time a message is sent to the user would be very
inconvenient and justifies the provision of a dedicated set of subroutines.
These considerations have led to the design and implementation of a set of
subroutines which form the Message Reporting System.
The Message System subroutines have names of the form
MSG_name
where name indicates what the subroutine does.
Next: Reporting messages
Up: MSG - Message Reporting System
Previous: MSG - Message Reporting System
MERS (MSG and ERR) Message and Error Reporting Systems
Starlink User Note 104
P C T Rees
A J Chipperfield
22 October 2001
E-mail:ussc@star.rl.ac.uk
Copyright © 2001 Council for the Central Laboratory of the Research Councils