030. Specify function and subroutine intents#

topic: Procedures

Function and subroutine argument intents were introduced in the Fortran 90 standard. Much Fortran code does not specify intents, which is legal, but all new code should. Arguments should be intent(in) or intent(out) unless intent(in out) is necessary.