[英]autohotkey array null… how do you check if the array is null/empty?
Autohotkey是一個真正的難題,在C#中,這種簡單的操作很容易,但是我無法使其與Autohotkey .ahk文件一起使用。
ListOfVal:=Arrays() ; Or ListOfVal:=[] | this creates the array <---comment
我已經嘗試過了...
if ListOfVal=null
MsgBox, "testing"
;Ive tried all these too...
;if ListOfVal==null
;if ListOfVal:=null
;if !ListOfVal
;if ListOfVal.MaxIndex()<1
;if ListOfVal.MaxIndex()=-1
你知道我在這里拉頭發,請幫忙...
請嘗試以下MinMaxIndex , Length , Count之一
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.