Hi,
how is possible to implement in a patch an iterative algorithm, similar at the "do-while" loop?
For example:
generate the Fibonacci Numbers.
The algorithm is this:
F(1)=1
F(2)=1
F(n)=F(n-1)+F(n-2) n>=3
Output: 1,1,2,3,5,8,13,....
is sent in a number box, with a metro.
I would choose when must stop the cycle.
Any suggestions?
Other examples of recursive algorithms in pd?
Thank's..
t.