Am 26.02.2007 um 16:07 schrieb Martin Kutschker: > You mean: > > if (cache hit?) { > out = cache value > } else { > do calculation > out = result > } > return out exactly. +1 for this variant. the rest was ok. Ingo