started writing examples for the syntax
This commit is contained in:
8
tests/functions.pla
Normal file
8
tests/functions.pla
Normal file
@@ -0,0 +1,8 @@
|
||||
depend "io.pla"
|
||||
depend "string.pla"
|
||||
|
||||
add = Func(a: Int, b: Int): Int {
|
||||
return a + b
|
||||
}
|
||||
|
||||
print(String(add(1, 3)))
|
||||
Reference in New Issue
Block a user