# Initializing global/module variable object

**URL:** <https://fortran-lang.discourse.group/t/initializing-global-module-variable-object/5899>\
**Category:** Uncategorized\
**Created:** [June 2, 2023, 5:27pm UTC](https://fortran-lang.discourse.group/t/initializing-global-module-variable-object/5899 "2023-06-02T17:27:30Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![everythingfunctional](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/everythingfunctional/32/176_2.png) [@everythingfunctional](https://fortran-lang.discourse.group/u/everythingfunctional)\
**Post date:** [January 17, 2024, 1:40pm UTC](https://fortran-lang.discourse.group/t/initializing-global-module-variable-object/5899/12 "2024-01-17T13:40:30Z")

</div>

I believe your example as written is actually valid (and would also be with the `parameter` attribute), because it doesn’t define the allocatable components. @sblionel laid out the rules pretty well in [a previous thread](https://fortran-lang.discourse.group/t/structure-constructor-with-procedure-pointer-component/2724/2)

---

_[View the full topic](https://fortran-lang.discourse.group/t/initializing-global-module-variable-object/5899)._
