# Correct program?

**URL:** <https://fortran-lang.discourse.group/t/correct-program/10826>\
**Category:** Uncategorized\
**Created:** [March 31, 2026, 1:21pm UTC](https://fortran-lang.discourse.group/t/correct-program/10826 "2026-03-31T13:21:01Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [April 2, 2026, 2:11am UTC](https://fortran-lang.discourse.group/t/correct-program/10826/14 "2026-04-02T02:11:37Z")

</div>

@Arjen this is a common gotcha in Fortran, see [When is "n" in explicit-shape array A(n) implicitly typed](https://fortran-lang.discourse.group/t/when-is-n-in-explicit-shape-array-a-n-implicitly-typed/7389), which discusses this at length with examples what is and what is not allowed and how exactly it works.

---

_[View the full topic](https://fortran-lang.discourse.group/t/correct-program/10826)._
