# Trouble with @eval with mixed variable scopes

**URL:** <https://discourse.julialang.org/t/trouble-with-eval-with-mixed-variable-scopes/34483>\
**Category:** General Usage\
**Created:** [February 11, 2020, 7:04pm UTC](https://discourse.julialang.org/t/trouble-with-eval-with-mixed-variable-scopes/34483 "2020-02-11T19:04:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [February 12, 2020, 11:34am UTC](https://discourse.julialang.org/t/trouble-with-eval-with-mixed-variable-scopes/34483/6 "2020-02-12T11:34:23Z")

</div>

I am not too familiar with Jupyter, but I think it changes the scope behaviour by default (see [GitHub - JuliaLang/IJulia.jl: Julia kernel for Jupyter](https://github.com/JuliaLang/IJulia.jl#opting-out-of-soft-scope)). There it is also explained how to get the raw REPL scope experience 🙂

Regarding the code blocks have a look at [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757).

---

_[View the full topic](https://discourse.julialang.org/t/trouble-with-eval-with-mixed-variable-scopes/34483)._
