aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 3476

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?
 
Similar Threads
java Script Program
The fizz buzz coding challenge
java.lang.IllegalStateException: Cannot forward after response has been committed
Problem With Algorithm Involving Recursion and String Manipulation
MultiDimenaional Array sort