Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Prevent interpolation when Meta.parse a String to Expr

$
0
0

Hello everyone,
if I want to parse the following string to expression
s = "Z = A + 1"
where A represents a variable defined elsewhere in the code, then how can I prevent interpolation when I pass this string to Meta.parse() ?
s = "Z = \$A + 1" won’t work …

10 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles