added small amount of code to handle break & continue

This commit is contained in:
hyunghwan.chung
2017-01-27 15:25:46 +00:00
parent b7a19a3b14
commit 10ca940d72
3 changed files with 104 additions and 37 deletions

View File

@ -169,12 +169,20 @@ class MyObject(Object)
]
]) dump.
(*
a := 5.
while (true) {
System logNl: a asString.
a := a + 100000000000000.
}.
}.*)
a := 5.
while (true)
{
a := a + 1.
if (a < 9) { continue }.
a dump;
}.
'---------- END ------------' dump.
##Processor sleepFor: 20.
}