學會表達式賦值,等號賦值請當作不存在。
====
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)