Akarsh V
Posts: 3
Nickname: mqindia123
Registered: Feb, 2015
|
|
Re: Unable to run scala code on page 75 (e-book)
|
Posted: Feb 9, 2015 9:51 AM
|
|
Thanks for your quick reply. See I first created a new file named hello.scala then typrd the first println statement that is ("Hello, world, from a script!).My interpreter showed the output. Now I see $ scala hello.scala... (whats this?)
Can yu be specific how I should run command line arguments in scala script.
Btw, when I type println ("Hello" + args (0) + "!") and type for run its showing arg not defined. What is $ scala helloarg.scala planet? Is it command line, If yes how do I work on them? Where should I type them? I'm running scala on eclipse luna on mac.
|
|