function declarations

This commit is contained in:
2025-05-30 18:33:52 +02:00
parent 2bc24c394d
commit b3475651eb
5 changed files with 76 additions and 32 deletions

View File

@@ -1,8 +1,9 @@
let a: I64 = 0
let b: I64 = 1
func main[]
let a: I64 = 0
let b: I64 = 1
while a < 100000
print(a)
let temp: I64 = b
b = a + b
a = temp
while a < 100000
print(a)
let temp: I64 = b
b = a + b
a = temp