Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*) | :: | Severity | ||||
character(len=*) | :: | ErrorMessage |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
SUBROUTINE ShowAuditErrorMessage(Severity,ErrorMessage)
! SUBROUTINE INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN March 2003
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine is just for messages that will be displayed on the audit trail
! (echo of the input file). Errors are counted and a summary is displayed after
! finishing the scan of the input file.
! METHODOLOGY EMPLOYED:
! na
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*) Severity ! if blank, does not add to sum
CHARACTER(len=*) ErrorMessage
! SUBROUTINE PARAMETER DEFINITIONS:
CHARACTER(len=*), PARAMETER :: ErrorFormat='(2X,A)'
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
! na
IF (Severity /= Blank) THEN
TotalAuditErrors=TotalAuditErrors+1
WRITE(EchoInputFile,ErrorFormat) Severity//TRIM(ErrorMessage)
ELSE
WRITE(EchoInputFile,ErrorFormat) ' ************* '//TRIM(ErrorMessage)
ENDIF
RETURN
END SUBROUTINE ShowAuditErrorMessage