blob: cffa02c5b6b8301873eddb0da386c92334bb1875 (
plain) (
tree)
|
|
unknown option: '-cpp'
scala [ <option> ]... [<torun> <arguments>]
All options to scalac are allowed. See scalac -help.
<torun>, if present, is an object or script file to run.
If no <torun> is present, run an interactive interpreter.
Option -howtorun allows explicitly specifying how to run <torun>:
script: it is a script file
object: it is an object name
guess: (the default) try to guess
Option -savecompiled requests that the compiled script be saved
for future use.
Option -nocompdaemon requests that the fsc offline compiler not be used.
Option -Dproperty=value sets a Java system property.
This is an interpreter for Scala.
Type in expressions to have them evaluated.
Type :help for more information.
scala> 3: 1: test 1 passed (1)
3: 2: 1: test 1 passed (1)
unnamed0: scala.Unit = ()
scala>
This is an interpreter for Scala.
Type in expressions to have them evaluated.
Type :help for more information.
scala> 3: 1: test 2 passed (1)
3: 2: 1: test 2 passed (1)
unnamed0: scala.Unit = ()
scala>
This is an interpreter for Scala.
Type in expressions to have them evaluated.
Type :help for more information.
scala> 3: 1: test 3 passed (1)
3: 2: 1: test 3 passed (1)
unnamed0: scala.Unit = ()
scala>
|