summaryrefslogtreecommitdiff
path: root/mem/fib.focal
diff options
context:
space:
mode:
Diffstat (limited to 'mem/fib.focal')
-rw-r--r--mem/fib.focal9
1 files changed, 9 insertions, 0 deletions
diff --git a/mem/fib.focal b/mem/fib.focal
new file mode 100644
index 0000000..9ea6d07
--- /dev/null
+++ b/mem/fib.focal
@@ -0,0 +1,9 @@
11.1 SET X0=0
21.2 SET X1=1
31.3 FOR X=1,100; DO 2
42.1 TYPE X0,!
52.2 SET X2=X0+X1
62.3 SET X0=X1
72.4 SET X1=X2
82.5 RETURN
9GO 1.1