# While loop doesn't inherit variable from global scope in 1.0

**URL:** <https://discourse.julialang.org/t/while-loop-doesnt-inherit-variable-from-global-scope-in-1-0/14088>\
**Category:** New to Julia\
**Created:** [August 26, 2018, 5:38pm UTC](https://discourse.julialang.org/t/while-loop-doesnt-inherit-variable-from-global-scope-in-1-0/14088 "2018-08-26T17:38:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [August 26, 2018, 6:29pm UTC](https://discourse.julialang.org/t/while-loop-doesnt-inherit-variable-from-global-scope-in-1-0/14088/6 "2018-08-26T18:29:16Z")

</div>

Here is more discussion: [Scope and global in REPL (julia 0.7)](https://discourse.julialang.org/t/scope-and-global-in-repl-julia-0-7/10233)

---

_[View the full topic](https://discourse.julialang.org/t/while-loop-doesnt-inherit-variable-from-global-scope-in-1-0/14088)._
