# Evaluation of string with local variable

**URL:** https://discourse.julialang.org/t/evaluation-of-string-with-local-variable/12713
**Category:** General Usage
**Created:** [July 28, 2018, 9:40pm UTC](https://discourse.julialang.org/t/evaluation-of-string-with-local-variable/12713 "2018-07-28T21:40:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)
#### Post date: [July 28, 2018, 9:50pm UTC](https://discourse.julialang.org/t/evaluation-of-string-with-local-variable/12713/2 "2018-07-28T21:50:36Z")

</div>

No it’s impossible and metaprogramming will never help.

To quote myself in a [recent post](https://discourse.julialang.org/t/parse-string-to-datatype/7118/12):

> Many people seems to think macro gives you magic power to accomplish things at runtime that are not possible without them. They don’t, they are just a fancy way to save repeated typing.

---

_[View the full topic](https://discourse.julialang.org/t/evaluation-of-string-with-local-variable/12713)._
