Code: Select all
global aString
aString=q|w|e|r|t
StringSplit,aString,aString,|
aFunc()
return
aFunc()
{
MsgBox,% aString
MsgBox,%aString1%
}
Why !? Because I didnt "split it as a global array"?
Such as...(I can solve this problem by just adding follow code.But that's incredibly stupid.)
Code: Select all
global aString1