Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - waitms() wait for specified time http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 waitms()            Wait for specified time
------------------------------------------------------------------------------
 Declaration
   system.hdr

 Syntax
   proc waitms extern
   param value uint uMilliSecs

 Arguments
   uMilliSecs is the number of milliseconds to wait.

 Return
   None.

 Description
   The waitms() procedure suspends program execution until the given
   time is elapsed. Unlike waitkey(), this function ignores keypresses.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_waitms
   ? "Now wait for 5 seconds"
   waitms( 5000 )
   ? "Finished"
   endproc

   proc main
   Test_waitms()
   endproc

See Also: ticks() waitkey()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson