For that case, also see Memoize
In reply to Re^2: how can i hold temporary values in a recursive function by Corion in thread how can i hold temporary values in a recursive function by siskos1