06-26-2003, 05:59 PM
Well, in the line of Antoni's, here's my very own fibonnaci series callculator:
You use it this way (for example):
Code:
FUNCTION fibonacci& (n&)
IF n& < 2 THEN fibonacci& = 1 ELSE fibonacci& = fibonacci&(n& - 1) + fibonacci&(n& - 2)
END FUNCTION
You use it this way (for example):
Code:
FOR i& = 0 TO 10
PRINT fibonacci(i&)
NEXT
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i