Help of "ExpandVarStrings" says nothing about arrays not working, can't find anything on the forum either. I tried the following: #include <Array.au3> Opt("ExpandVarStrings",1) $a = _ArrayCreate("text1","text2","text3") $b = "hello" MsgBox(0,"test","Testing $b$ and $a$[1] and $a[1]$ and $a$[1]$ gives me no correct substitution for all the $a array variables!") Can anyone tell me how to do this? Thanks in advance.