| changeset 335 | 9476aee44eed |
| parent 202 | 3b40cc2a938a |
| child 353 | 0913158ef452 |
--- a/progs/hello-world.scala Thu Apr 23 14:49:54 2020 +0100 +++ b/progs/hello-world.scala Wed Aug 12 00:56:20 2020 +0100 @@ -1,3 +1,14 @@ -object Hello extends App { +object Hello //extends App +{ + var x = 1 + + println("test") + + x = x + 2 + + println("foo") + + synchronized { x = x + 1 } + println("hello world") }