数组不是这么用的啊- dim tmpArray()
- i = 0
- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objFile = objFSO.OpenTextFile("d:\0.txt", 1)
- Do Until objFile.AtEndOfStream
- tmpArray(i) = objFile.ReadLine
- i = i + 1
- loop
- For i = 0 to UBound(tmpArray)
- Response.Write("<img src='" & tmpArray(i) & "'>
- ")
- next
复制代码 达到你的目的其实用不着数组- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objFile = objFSO.OpenTextFile("d:\0.txt", 1)
- Do Until objFile.AtEndOfStream
- Response.Write("<img src='" & objFile.ReadLine & "'>
- ")
- loop
复制代码
|