Page 1 of 1
How to increase a variable every second
Posted: Tue Nov 26, 2013 11:27 am
by TheApexEffect
I'm currently running into problems with creating a running score. I'm looking to have a score that increases by 100 every second but I'm not sure if a function exists to perform that or if i have to hack something together. Thanks in advance and any help would be very appreciated
Re: How to increase a variable every second
Posted: Tue Nov 26, 2013 11:57 am
by LCNeil
Hi Apex,
An easy way to do this is via a "send" which is non-blocking.
Please see the attached stack for some example script.
Kind Regards
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
LiveCode – Realize fast, compile-free coding
--
Re: How to increase a variable every second
Posted: Tue Nov 26, 2013 2:40 pm
by dunbarx