I don't know, how could I use my variables which are created within a loop, outside of the loop. The first MsgBox give me the content, but the 2nd one doesn't (t1).
Thank you!
Code: Select all
SetTitleMatchMode, 2
Loop, read, The.txt
{
StringSplit, LineArray, A_LoopReadLine, `n
name := LineArray1
email := LineArray2
address := LineArray3
szuli := LineArray4
t1 := LineArray5
code := LineArray6
MsgBox, Fields are %name% %contact% %address% %t1% %code%
}
v1 := A_Hour A_Min
MsgBox, %v1% %t1%