Difference between revisions of "Winset time"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
Line 9: Line 9:
 
==Example==
 
==Example==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>100:    </span><span style='color:green'>winset_time </span>options <span style='color:orange'>//Comment</span>
+
  <span style='color:blue'>100:    </span><span style='color:green'>winset_time </span>R1 <span style='color:orange'>//Updates the timer each time a second is counted in register 1</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
 
  </span>
 
  </span>

Latest revision as of 10:26, 30 April 2013

Syntax

Syntax: winset_timeregister

  • register = Register counting in seconds every second passed update the timer.

Use

Updates the timer every time the register counts a second.

Example


100:     winset_time R1 //Updates the timer each time a second is counted in register 1
         ret 

Also see

ret, Barebones function 100, Barebones function 110