Browse Source

small style change

master
Martin Dørum 3 years ago
parent
commit
2d7cc13732
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      test/examples/control-flow.l2

+ 2
- 2
test/examples/control-flow.l2 View File

} }


print "\nWith while this time" print "\nWith while this time"
i = 0
i := 0
while {i < 10} { while {i < 10} {
print "Hallo Wrodl" print "Hallo Wrodl"
i = i + 1 i = i + 1
} }


print "\nAnd with the for loop" print "\nAnd with the for loop"
i = 0
i := 0
iter := { iter := {
j := i j := i
i = i + 1 i = i + 1

Loading…
Cancel
Save