Yanniel recently posted two ways to generate Fibonacci numbers, here are two more. Generating Fibonacci numbers with an enumerator for i in Fibonacci(10) do Writeln(i); Of course you need a Fibonacci-implementing enumerator. I wrote one on 2007 and it uses the iterative approach. Read more in ...
More...