[julia-users] Re: Enter values for the variables manually

2014-01-31 Thread offnavy
hello, i am using julia studio on windows; when i try to use chomp(readline(STDIN)) in order to enter value with my keyboard, it does not work. can someone help me or give an exemple of how to do. i just begin to use julia. thanks a lot Le mardi 28 janvier 2014 13:29:40 UTC+1, offnavy a écrit :

[julia-users] Re: Enter values for the variables manually

2014-01-29 Thread offnavy
I tried this but it does not work, my situation, is that when i exsecute the command, i want the prompt whait iuntil i enter a value Le mardi 28 janvier 2014 16:41:38 UTC+1, Fabian Gans a écrit : Just use readline with STDIN as the only argument. Example: julia N=chomp(readline(STDIN)); 5

[julia-users] Re: Enter values for the variables manually

2014-01-28 Thread Steven G. Johnson
On Tuesday, January 28, 2014 10:41:38 AM UTC-5, Fabian Gans wrote: Just use readline with STDIN as the only argument. Example: julia N=chomp(readline(STDIN)); Note that you can just use readline() ... STDIN is the default.