按键精灵逐行读取文件
2021-09-29 本文已影响0人
唐植超
content = Plugin.File.ReadFileEx("D:\data.txt")
lines = Split(content, "|")
If UBound(lines)>=0 Then
For i=0 To UBound(lines)
TracePrint "第 " & i + 1 & " 行文本内容为:" & lines(i)
Next
End If
content = Plugin.File.ReadFileEx("D:\data.txt")
lines = Split(content, "|")
If UBound(lines)>=0 Then
For i=0 To UBound(lines)
TracePrint "第 " & i + 1 & " 行文本内容为:" & lines(i)
Next
End If