我有一个有效的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
}
}
}