举报
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, 2026-7-26 10:47 , Processed in 0.064593 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2026 Discuz! Team.