# A way to initialize an array without specifying its eltype in advance?

**URL:** https://discourse.julialang.org/t/a-way-to-initialize-an-array-without-specifying-its-eltype-in-advance/47379
**Category:** General Usage
**Tags:** question
**Created:** [September 27, 2020, 11:07pm UTC](https://discourse.julialang.org/t/a-way-to-initialize-an-array-without-specifying-its-eltype-in-advance/47379 "2020-09-27T23:07:10Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![mschauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mschauer/32/13946_2.png) [@mschauer](https://discourse.julialang.org/u/mschauer)
#### Post date: [September 28, 2020, 9:02am UTC](https://discourse.julialang.org/t/a-way-to-initialize-an-array-without-specifying-its-eltype-in-advance/47379/12 "2020-09-28T09:02:15Z")

</div>

Some relevant discussion towards the end of [Skipping parts of a for loop in the first iteration](https://discourse.julialang.org/t/skipping-parts-of-a-for-loop-in-the-first-iteration/16252)

---

_[View the full topic](https://discourse.julialang.org/t/a-way-to-initialize-an-array-without-specifying-its-eltype-in-advance/47379)._
