You cannot alter a Sequence, thats what it implies.
Maybe you should restructure your aplication to be based on a state machine architecture, as told by Graziano.
You can go for an event-driven state-machine architecture.
Here is a simple form of a state machine that runs from state 0 up to state 10 (similar to frame 0 to frame 10). If a test fails, the selector will set the state back to 0 and the cases (frames) will start all over again.
Ooops, you can move the selector and increment to after the case structure so that you don't have to create it for each case. Just wire the test result from each case to the right edge and then to the selector after the case structure.
Message Edited by tbob on 10-19-2007 08:57 AM
Message Edited by tbob on 10-19-2007 09:00 AM