Re: [AHK-] 編輯變數名稱(擷取部分)

看板EzHotKey作者 (鍵盤鍵盤)時間13年前 (2012/07/18 19:59), 編輯推噓2(203)
留言5則, 1人參與, 最新討論串2/4 (看更多)
學會表達式賦值,等號賦值請當作不存在。 ==== 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) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.224.180.55

07/20 13:10, , 1F
太厲害了! 還有上色 真是感謝>_<
07/20 13:10, 1F

07/20 13:13, , 2F
想請問eatapple := 20110718174120 這行的eatapple
07/20 13:13, 2F

07/20 13:13, , 3F
跟這行eatbus := 20130718174120 的eatbus為什麼是白色不是紅
07/20 13:13, 3F

07/20 13:14, , 4F
色的?
07/20 13:14, 4F

07/20 13:15, , 5F
應該是說eatapple跟eatbus 為什麼不是跟 Happle以及Hbus同色?
07/20 13:15, 5F
文章代碼(AID): #1G1gKeBV (EzHotKey)
文章代碼(AID): #1G1gKeBV (EzHotKey)