Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | Number |
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.
FUNCTION IntegerToString(Number) RESULT(String)
! FUNCTION INFORMATION:
! AUTHOR P Ellis
! DATE WRITTEN unknown
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! convert integer number to a string
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables
! FUNCTION ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: Number
CHARACTER(len=25) :: String
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
! na
WRITE(String, *) Number ! Could add formatting here
String=ADJUSTL(String)
RETURN
END FUNCTION IntegerToString