Started by _iPhoenix_, February 25, 2018, 03:50:37 pm
0 Members and 1 Guest are viewing this topic.
//Note that the startTmr token is essentially a variable holding a number that represents the current //time, and the checkTmr( command essentially takes the current value of startTmr at execution and//subtracts the value stored in the provided variable from it.//Initialize a timer to variable A by storing the current time to AstartTmr->A<put code to execute while clock is running here>//Get the amount of time elapsed since the time was stored to A, and store it to B, for safe keeping. Optionally, you can even store it back into A.checkTmr(A->B//note that the clock still technically runs here, so none of the calculations here can use the timer stored in A.<put code to execute while clock is paused here>//Take the current time, and move backwards B seconds, storing it back into AstartTmr-B->A
CodeWalr.us 2.0 © 2020, DJ Omnimaga & Juju
Page created in 0.043 seconds with 36 queries.