I was working on learning arrays by programming a game that creates 15 sets of questions and answers from data in a db.
I added the plugin for Random Arrays, and maybe that is when it started, but I removed that plugin from this example, and it's still going crazy.
Please check Layout 2. It is a simple
For "test loop 2" from 1 to 3:
System | Set RandomNumber to int(random(0,31118))
txtRandomNumber |Set text to RandomNumber.
Instead of 3 loops, the loop goes on endlessly.
Layout 1 is basically everything I was coding but disabled as I tried to eliminate problems and add text boxes to watch my variables.
The capx is pennyhaynes.com/testgames/Array-INFINITE_LOOP.capx