04-10-2006 10:50 AM
That is great, just what I want.
Now It seems I can remove "STOP" button for inner loop and event case for this "STOP", just leave STOP 2 to control inner and outer loops. It seems work good. But you may see some potential problems since I remember that you ever said this STOP even is very important.
Please check my program. It looks you solve my problem. Many many thanks
04-10-2006 11:01 AM
04-10-2006 02:00 PM
Yes. I have a lot staff in outer loop.
Let me make it sinple first.
I have stack sequence structure. When program goes through other sequences and coe back to sequence "0". I want the wile loop is running so that the radom number is changing.
Now we stop this while loop with event control "STOP 2". How do we make while loop autumatically runs again?
04-10-2006 02:29 PM
04-10-2006 03:43 PM
04-10-2006 04:26 PM
04-10-2006 10:38 PM
Sorry. Since the program is too big and complicated to post here. I use Radom number just to present other staff in out loop, they need to run all the time. They all can not be place inside inner loop.
My difficulty here is those event structure loop. They are just for making an array with selected scursor X position (unknow size array). Without this event structure loop, my program works good. Or placing this loop outside of outer loop, it wrks good too. However, I really want them inside outer loop.
As I said the program is too big, we add more and more. Now we have problem to add more.
I simplify my problem just for easy communication.
I am thinking if we can add scursor position data into array without event structure. We may make things easy.