Code: Select all
#SingleInstance Force
Build_Object()
return
Build_Object()
{
global
Test_Object := { Test1: "Red", Test2: "Yellow"}
}
^t::
Test_Object()
return
Test_Object()
{
name := "Test"
msgbox, % %name%_Object.Test1 ; will display "Red" ?? how
;~ msgbox, % Test_Object.Test1 ; no output
}
this is the "common source of confusion" isnt it... i feel silly