Code: Select all
3052226661
44
55
stop
again
Code: Select all
FileRead, outVar, amr.txt
lineToGet := StrSplit(outVar, "`n",[A_Space, A_Tab])
Loop, % lineToGet.Length()
{
store := lineToGet[A_Index]
if (store = "stop") {
; If the current line is "stop", display a message box and break out of the loop
MsgBox, % "it's there at line " A_index
Break
}
else {
MsgBox, % store
}
}
"
end with new line
how to fix that
i also couldn't use the lines contain numbers to break the loop or to do math operations with