wood burning stoves 2.0*
The moose likes Scala and the fly likes What is going wrong with this Scala script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "What is going wrong with this Scala script?" Watch "What is going wrong with this Scala script?" New topic
Author

What is going wrong with this Scala script?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey,
I started learning Scala yesterday and I started with this script file:

By running it with : scala Hello.scala I got:
mymachinename: mymachinename

What is going wrong?
(Arch Linux/Scala 2.7.5 final)
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is going wrong with this Scala script?