Fixes and functions
This commit is contained in:
5
tests/func.kyn
Normal file
5
tests/func.kyn
Normal file
@@ -0,0 +1,5 @@
|
||||
fun dingus {
|
||||
println "hello"
|
||||
}
|
||||
|
||||
dingus
|
||||
6
tests/loop.kyn
Normal file
6
tests/loop.kyn
Normal file
@@ -0,0 +1,6 @@
|
||||
let counter = 0
|
||||
|
||||
while compare $counter <= 1000 {
|
||||
println $counter
|
||||
counter = (math 1 + $counter)
|
||||
}
|
||||
Reference in New Issue
Block a user