# Delay()

作者: SKAN 最近更新时间: 20091210

A more accurate alternative to Sleep command to pause or wait execution, with high cpu usage. Based on QueryPerformanceCounter().

Delay( D=0.001 )

关于函数的参数和返回值, 请参阅其源码.

#### 备注

The function is very simple in usage, but it lacks an external documentation.

关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?t=52083

#### 许可

不存在

#### 示例

    ; #Include Delay.ahk
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%

    MsgBox, % Delay( 0.008 ) ; Delay for 8ms