// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package basic

object ValVar {
  def main(args: Array[String]): Unit = {
    val iv1 = 123
    //iv1 = 456
    var iv2 = 456
    iv2 = 789
    println(iv1 + " " + iv2)
    val iv3: Int = 123
    //iv3 = 456
    var iv4: Int = 456
    iv4 = 789
    println(iv3 + " " + iv4)
  }
}
