# Problem in attaching array type in struct

**URL:** <https://discourse.julialang.org/t/problem-in-attaching-array-type-in-struct/36417>\
**Category:** New to Julia\
**Created:** [March 24, 2020, 5:40am UTC](https://discourse.julialang.org/t/problem-in-attaching-array-type-in-struct/36417 "2020-03-24T05:40:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [March 24, 2020, 8:17pm UTC](https://discourse.julialang.org/t/problem-in-attaching-array-type-in-struct/36417/3 "2020-03-24T20:17:35Z")

</div>

Probably useful: [Default value of \*some\* fields in a mutable struct](https://discourse.julialang.org/t/default-value-of-some-fields-in-a-mutable-struct/33408).

See also Parameters.jl which allows you to set default values for fields.

---

_[View the full topic](https://discourse.julialang.org/t/problem-in-attaching-array-type-in-struct/36417)._
