How to increase a variable every second
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 6
- Joined: Mon Nov 18, 2013 8:34 pm
How to increase a variable every second
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
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
--
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
--
- Attachments
-
- Simple Score.livecode.zip
- (1.03 KiB) Downloaded 185 times