# How to define many variables in few lines?

**URL:** <https://discourse.julialang.org/t/how-to-define-many-variables-in-few-lines/65788>\
**Category:** General Usage\
**Created:** [August 4, 2021, 6:38am UTC](https://discourse.julialang.org/t/how-to-define-many-variables-in-few-lines/65788 "2021-08-04T06:38:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [August 4, 2021, 7:02am UTC](https://discourse.julialang.org/t/how-to-define-many-variables-in-few-lines/65788/4 "2021-08-04T07:02:45Z")

</div>

Maybe something like this:

```julia
(a,b,c,d,e) = (Ref{Float64}(1.0) for _ in 1:5)

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-define-many-variables-in-few-lines/65788)._
