OK, I now understand. I can avoid the issue by simply running my code
within a function:

#!/usr/bin/env julia

function main()
        a = [i for i=1:3]
        b = [a[i] for i=1:length(a)]
        print(exp(b))
end

main()

Reply via email to