Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
PRINT FNfib(10)
|
||||
END
|
||||
|
||||
DEF FNfib(n%) IF n%<0 THEN ERROR 100, "Must not be negative"
|
||||
LOCAL P% : P% = !384 + LEN$!384 + 4 : REM Function pointer
|
||||
(n%) IF n%<2 THEN = n% ELSE = FN(^P%)(n%-1) + FN(^P%)(n%-2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue