226. Wrap a procedure with explicit shape array arguments in a procedure with an assumed shape arguments for safety.#

topic: Array arguments

Note

This tip is a draft1.

A procedure with explicit shape array arguments can be wrapped by a procedure with assumed shape arguments that is safer to use, since the correct array dimensions can be obtained from SIZE or SHAPE and be passed.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.