在AHK中循环此代码的另一种方法

时间:2014-10-20 04:41:00

标签: loops autohotkey

我有一个有效的AHK代码,但我很好奇是否有更好/更短的方法来执行此循环,

a := b := aFunction() ; get a starting value for a and b 
loop,
{
    a := aFunction() ; call a function to get current a value
    if (a == b)
    continue
    Else
    {
        c := a - b ; this is to find how many new entry 
        loop,
        {
            d := dFunction(c) 
            b += c
            if (a == b )
            break
        }
    }
}

0 个答案:

没有答案