Just wondering if this is possible, ex:

mainfunction, function1, function2, function3, function4

mainfunction calls function1, which calls 2, which calls 3, which calls 4.

This chain of event can take a long time... is it possible to have mainfunction start function1 (lets say) three times with 3 different sets of data. Once the first one of those 3 ends, it re-start function1 with a new set of data.... it would basically loop thru all of this data until done.

Dont know if this falls in multi threaded or not. I suppose this could be done with a array of a class, but then again, you run into the same problem as telling the code to "continue"....