a bit more of Julia quark I can not fathom:
julia> a = 10 10 julia> a <= 12 true julia> while a <= 12 println(a) a += 1 end ERROR: UndefVarError: a not defined Stacktrace:  top-level scope at ./none:2
This leaves me with two questions:
- why isn’t the variable visible in the loop guard?
- how can I use a global (or outer scope) variable in a while loop guard?