Version française
Home     About     Download     Resources     Contact us    
Browse thread
recursive or loop
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Wohlwend <micha-1@f...>
Subject: recursive or loop

A friend of mine changed a recursive algorithm to an imperative one since that 
is (he said) the only way to temporary stop the calculation and save the 
state to disk and be able to continue it later. To continue he just loads the 
saved state and jumps into his loop.

Is that true? How do I jump out of a recursive algorithm and be able to 
continue it at the same point?

cheers
 Michael