Is is broken, or is there something I did wrong?

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.8 (2015-04-30 23:40 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
|__/                   |  x86_64-linux-gnu


On Sunday, May 10, 2015, K leo <[email protected]> wrote:

> 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