檢查變量是否為數(shù)組類型.
IsArray ( 變量 )
Local $pos = WinGetPos("[CLASS:Notepad]") If IsArray($pos) Then MsgBox(0, "窗口高度", $pos[3]) EndIf