﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3523	Can't access array with _WM_COMMAND	jamestran201@…		"I have a complete error with array when i'm clicked in button, array error ( can't use _ArrayDiplay() )

All function return an array will same be error, autoit crash with msgbox


{{{
#include <Array.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>

$hGUI = GUICreate(""Window"", 500, 400, -1, -1)
$hButton = GUICtrlCreateButton(""CRASH!"", 126, 103, 278, 129)
GUICtrlSetFont(-1, 20, 800, 0)
GUISetState()

GUIRegisterMsg($WM_COMMAND, ""_WM_COMMAND"")

While 1
	$hMsg = GUIGetMsg()
	Switch $hMsg
		Case -3
			Exit
	EndSwitch
WEnd

Func _WM_COMMAND($hWnd, $Msg, $wparam, $lparam)
If BitAND($wparam, 0x0000FFFF) = $hButton Then

	EndIf

	Dim $a = [1,2,3,4,5,6]
	_ArrayDisplay($a)

	Return $GUI_RUNDEFMSG
EndFunc   ;==>_WM_COMMAND
}}}
"	Bug	closed		Other	3.3.14.2	None	No Bug		
