[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Rishabh Raghunath
Cool !! Thanks a ton Ján Adamčák !! for helping me out !! On Monday, August 8, 2016 at 2:39:07 AM UTC+5:30, Rishabh Raghunath wrote: > > > > Hello, > I am a beginner in the Julia language .. > I get this error while I try to run .jl Julia program file from the > terminal. However It works

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Rishabh Raghunath
Cool !!.. Th Ján Adamčák.. for helping me out * !!* On Monday, August 8, 2016 at 2:39:07 AM UTC+5:30, Rishabh Raghunath wrote: > > > > Hello, > I am a beginner in the Julia language .. > I get this error while I try to run .jl Julia program file from the > terminal. However It works

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Ján Adamčák
I am only C coder, too. I think, I am not good teacher for you. I can only fix broken things... Good Luck ;) Dňa pondelok, 8. augusta 2016 16:43:04 UTC+2 Rishabh Raghunath napísal(-a): > > Awesome.. Thanks a lot !! It worked .. > If you can .. Can you evaluate my code and point out the things

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Rishabh Raghunath
Awesome.. Thanks a lot !! It worked .. If you can .. Can you evaluate my code and point out the things I could implement better.. Being good at C.. I feel I am bringing the C style into my Julia Program. I want it to be optimised and do things in the right way in julia.. How do I get my Input

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Ján Adamčák
Hi, you are using function input() , but this function is not known for julia. You can use function readline(STDIN) instead of input(), or you can insert function input() readline(STDIN) end to the first line of your file. Have a nice day with Julia ;) Dňa pondelok, 8. augusta 2016

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-08 Thread Rishabh Raghunath
Thanks for replying I've attached the file with this reply.. It works in Juno.. but not via the terminal and get the before said error On Monday, August 8, 2016 at 2:39:07 AM UTC+5:30, Rishabh Raghunath wrote: > > > > Hello, > I am a beginner in the Julia language .. > I get this error while I

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-07 Thread Kristoffer Carlsson
Please include the file you are tying to run. On Sunday, August 7, 2016 at 11:09:07 PM UTC+2, Rishabh Raghunath wrote: > > > > Hello, > I am a beginner in the Julia language .. > I get this error while I try to run .jl Julia program file from the > terminal. However It works perfectly fine