举报
Dim $hfile = FileOpen("test.txt") Dim $aArr = StringSplit(FileRead($hfile), @CRLF, 1) FileClose($hfile) If $aArr[$aArr[0]] = "" Then MsgBox(0, "yes", "最后一行为空") Else MsgBox(0, "no", "最后一行为非空") EndIf
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-7-29 18:06 , Processed in 0.156140 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.