Did you take a look at Nicolai suggestion regarding the Generator class.
There is a fibonacci example in its test case.


fibo := GeneratorTest new fibonacciSequence

then to access the sequence term:
fibo next.

Hilaire
-- 
Dr. Geo
http://drgeo.eu


Reply via email to