level 3
1一下子全读出来
filename:="C:\var.txt"
FileRead, outputvar1, %filename%
IF not errorlevel
MsgBox,%OutputVar1%
2一行行读
Loop
{
FileReadLine, line, C:\var.txt, %A_Index%
if ErrorLevel
break
MsgBox, 4, , Line #%A_Index% is "%line%". Continue?
IfMsgBox, No
return
}
MsgBox, The end of the file has been reached or there was a problem.
return
2020年02月26日 05点02分
