title: Why I can't execute scala file?
body: <p>I am a newbie to Scala, it's the first time I'm running Scala, when I installed Scala, I created a file named <code>Hello.scala</code>, the content is: </p>
  
  <pre><code>println("HelloWorld!")
  </code></pre>
  
  <p>when I typed <code>scala</code>, there was no problem, the scala REPL was shown, but when I typed <code>scala Hello.scala</code>, it prompted: </p>
  
  <pre><code>&lt;console&gt;:1: error: ';' expected but '.' is found.
  </code></pre>
  
  <p>I dont know what problem is, I hope someone can help me.</p>