Difference between revisions of "Wait"

From OpenEUO
Jump to: navigation, search
 
Line 4: Line 4:
  
 
[[Obj.Loop]]
 
[[Obj.Loop]]
 +
 +
[[Pause]]
 +
 +
[[Stop]]
  
 
[http://msdn.microsoft.com/en-us/library/ms686298%28VS.85%29.aspx Windows API - Sleep function]
 
[http://msdn.microsoft.com/en-us/library/ms686298%28VS.85%29.aspx Windows API - Sleep function]
  
 
[http://blogs.msdn.com/b/embedded/archive/2006/02/20/535792.aspx MSDN Blog Article - Know thy tick]
 
[http://blogs.msdn.com/b/embedded/archive/2006/02/20/535792.aspx MSDN Blog Article - Know thy tick]

Latest revision as of 10:12, 9 October 2010

wait (msec)

Temporarily pauses execution of the script for msec milliseconds. Keep durations short if using this command in a gui thread where object events are handled. It is unlikely that accuracy is higher than the 'tick' rate of the system clock (system clock interrupt), so any call to wait(x) with x < 15 will likely wait at least 15ms (1/64 of a second).

Obj.Loop

Pause

Stop

Windows API - Sleep function

MSDN Blog Article - Know thy tick