124. Bounds of an allocatable array are preserved when passed to an allocatable, intent(in) or intent(in out) argument.#

topic: Array arguments

Note

This tip is a draft1.

The bounds of an allocatable array are preserved when passed to an allocatable, intent(in) or intent(in out) argument in a procedure. The same is true for intent(in) or intent(in out) pointer array arguments.



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.