Jump to content

Sleep Function


ericnail
 Share

Recommended Posts

Maybe this helps? Time to Thousandths of a second<br><br>Here's another thread that may help..

Awesome! That works.

For what it's worth, since I don't need micro seconds, i found that this actually worked:

SleepLocal(1)

Func SleepLocal($time)
    $a = TimerInit()
    Do 
        $b = TimerDiff($a)
    Until $b >= $time
    Return
EndFunc

But thanks a ton! I am saving that microsecond thing it could be super useful!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...