Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Mouse interface routines - <b>mdefsleep()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MDEFSLEEP()
 Set default sleep time between servicing hot spots
------------------------------------------------------------------------------
 Syntax
      MDEFSLEEP(<nDefSleep>) -> <nCurSleep>
 Arguments
     <nSleepDef> - Number of seconds for the default interval.
                 If absent no change made.
 Returns
     <nCurSleep> which is the current setting
 Description
     This routine sets the default time between successive servicing of
     the same hot spot within any of the Mouse Interface routines. This
     time is used to prevent the many more calls to the servicing routine
     when the user sits on the mouse button. The default value is set
     to 0.2 seconds at start up. The value can be overridden when each
     hot spot is set up.
 Examples
     MDefSleep(0.3)   // Sets the default sleep to 0.3 seconds

 Source: MOUSFUNC.PRG

 Author: Leo Letendre

See Also: MDEFRELEASE()

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