What do you mean by "saved" in the stopped case? Does that mean saving to file, or just to leave the values on the screen.
It looks like the arrays are things that are used in different states (cases of the case structure) in the code. So you want to maintain the values in the appended array from one loop iteration to the next as it goes through the various states. What happens is that if you run a case that doesn't do anything, the default values for the arrays (which would be empty arrays) get appended together since you have use default if unwired set for those 3 tunnels. You will need to feed your appended array to a shift register on the outside loop. Each case will take in the value from the left side shift register, act on it if it needs to replace values or change them, then feed it back to the shift register. Any cases that don't do anything, just feed the wire through the case.
Message Edited by Ravens Fan on
11-20-2007 06:02 PM