Initial commit
This commit is contained in:
11
tests/num.ppl
Normal file
11
tests/num.ppl
Normal file
@@ -0,0 +1,11 @@
|
||||
(let x 0)
|
||||
(if (== x 0)
|
||||
(print "x is zero")
|
||||
(set x 1)
|
||||
(print "now it is" x)
|
||||
)
|
||||
|
||||
(while (!= x 5)
|
||||
(print "x is currently" x "which is not 5. i must make it 5")
|
||||
(set x (+ x 1))
|
||||
)
|
||||
Reference in New Issue
Block a user