Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is going wrong with this Scala script?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic