Code: Select all
GetTag(tag) {
FileRead, pwd, %PwdFile%
Loop, read, %PwdFile%
{
line = %A_LoopReadLine%
arrx := StrSplit(line, " ")
l1 := % arrx.1
l2 := % arrx.2
l3 := % arrx.3
l4 := % arrx.4
Also, am I using the *wrong kind* of array here? There is a more modern way of doing arrays I think? (Autohotkey often has the "old way" and "new way" of doing things of course!).