123. Bounds of a derived type array component are preserved when passed to procedure.#

topic: Array arguments

Note

This tip is a draft1.

The bounds of a derived type array component are preserved when the whole derived type is passed to a procedure, as shown in the code of the previous tip.



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.