学会表达式赋值,等号赋值请当作不存在。
====
now := A_now
eatapple := 20110718174120
eatbus := 20130718174120
Happle := 999
Hbus := 888
function(x,y)
{
StringTrimLeft, a, x, 3 ;(这里是想说去掉eat为首的变量名称)
if (%x% - y <= 0)
{
means:="OK!"
return means
}
else
{
x := "H" . a
x := %x%
return x
}
}
MsgBox,% function("eatapple", now)
MsgBox,% function("eatbus", now)