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 directly as an integer or any specific datatype rather than as a string and then convert it to the datatype I want ? It would be helpfull If you could highlight the non ideal code and give me a replacement for the same. Thanks
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 perfectly fine in the Juno IDE. This following > is the error message I receive while trying to run the program from the > Linux terminal: > > > ERROR: LoadError: UndefVarError: input not defined > in legacy at /home/rishabh/Desktop/ProjectJulia/juliatest.jl:120 > while loading /home/rishabh/Desktop/ProjectJulia/juliatest.jl, in > expression starting on line 138 > > How do I resolve this and run .jl file in the terminal rather than in Juno > ? > Thanks In advance >
