alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Scala example source code file (Main.check.scalaint)

This example Scala source code file (Main.check.scalaint) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Scala tags/keywords

all, dproperty=value, if, java, option, option, scala, scala, see, this, this, type, type

The Scala Main.check.scalaint source code

unknown option: '-cpp'
scala [ <option> ]... [ ]

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> 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> 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> 2: 1: test 3 passed (1)
unnamed0: scala.Unit = ()

scala> 

Other Scala examples (source code examples)

Here is a short list of links related to this Scala Main.check.scalaint source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.