Martin Dørum 3 anni fa
parent
commit
a5d5427207
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      test/examples/control-flow.l2

+ 1
- 1
test/examples/control-flow.l2 Vedi File

@@ -3,7 +3,7 @@ if 'true {print "true is true"} {print "true is not true"}
if 'false {print "false is true"} {print "false is not true"}
if 'true {print "true is true"}
if 'false {print "false is true"} # This should output nothing
print (if 'true {"If returns it true value"})
print (if 'true {"If returns its true value"})
print (if 'false {0} {"If returns its false value"})

print "\nRun loop 10 times"

Loading…
Annulla
Salva