脚本:print("helloworld")命令:f:\Scala>scala -savecompiled hello.scalahello world脚本:print("hello world" +args(0))命令:f:\Scala>scala -savecompiled hello.scalahohoho----这个是参数hello world如果多个参数:f:\Scala>scala -savecompiled hello.scala args1args2