I try read in a variable at run time and use include_string to assign it to
another variable, but I got errors.

Originally, the following code works:

           y1 = tech.cl

But when I try to include from input with this code:

            println("Input the variable")
            tt="\n"
            while tt=="\n"
                tt=readline(STDIN)
            end
            println(tt)
            y1 = include_string(tt)

then I get the following output and error:

Input the variable
tech.cl
tech.cl

ERROR: tech not defined
 in include_string at loading.jl:100

What is wrong here?

Reply via email to