lang/examples/fib.script

13 lines
83 B
Plaintext
Raw Permalink Normal View History

2021-12-22 17:23:24 +01:00
x := 1
2021-12-21 01:18:22 +01:00
y := 1
i := 60
while i {
2021-12-21 01:18:22 +01:00
z := x + y
y = x
x = z
2021-12-26 10:55:31 +01:00
putln(z)
2021-12-21 01:18:22 +01:00
i = i - 1
2021-12-22 17:23:24 +01:00
}