I'm not sure what that's in response to, but yes, we should have such a thing. However, it should automatically use the REPL and provide line editing when appropriate or fall back on dumb input otherwise.
On Mon, Apr 7, 2014 at 10:39 AM, Ismael VC <[email protected]> wrote: > How about an input function? > > julia> function input(prompt::String="") > print(prompt) > chomp(readline()) > end > input (generic function with 2 methods) > > julia> name = input("What's your name? "); > What's your name? Ismael > > julia> println("Hello $(name)!") > Hello Ismael! > > >
