Hi all,
my name's Marco and I'm playing with MS.
Can you write down which could be the methods to play an infinite routine loop but controlled by a button?
Well, I'd like to have a number (a label text) that changes randomly (using the function math.random I suppose) in a page and it's forever until I push a button to stop it (or I change the page with a button).
The random count have to start at the page open so I guess, I've to put the code in the Onshow section, right?
Later I'll play with the code to make possible to start and stop the random counte with the same butto changing the text of the button in "Start" when it's stopped and "Stop" when it's running.
I know that's not difficult for several programmer like you, but for me could be a good start... I'm a beginner in AMS, but I'm not just a code newbie.
Thank you a lot.
Best
Marco
my name's Marco and I'm playing with MS.
Can you write down which could be the methods to play an infinite routine loop but controlled by a button?
Well, I'd like to have a number (a label text) that changes randomly (using the function math.random I suppose) in a page and it's forever until I push a button to stop it (or I change the page with a button).
The random count have to start at the page open so I guess, I've to put the code in the Onshow section, right?
Later I'll play with the code to make possible to start and stop the random counte with the same butto changing the text of the button in "Start" when it's stopped and "Stop" when it's running.
I know that's not difficult for several programmer like you, but for me could be a good start... I'm a beginner in AMS, but I'm not just a code newbie.
Thank you a lot.
Best
Marco
Comment