\\n
\\n\\n \\n \\n
\\n \\n
\\n \\n \\n \\n
\\n\\n \\n \\n \\n
\\n\\n \\n
\\n \\n
\\n \\n
\\n
\\n \\n
\\n ASP AtEndOfLine property
\\n\\n \\n
\\n
AtEndOfLine propertyReturns a Boolean value. True indicates that the file pointer is immediately before the end-of-line marker in a TextStream file; otherwise, returns False.
\\nNote:This property only works with TextStream Objects opened in read-only mode.
\\nSyntax
\\n\\n
\\n TextStreamObject.AtEndOfLine\\n
Example
\\n\\n
\\n <%\\ndim fs,f,t,x\\n\\nset fs=Server.CreateObject("Scripting.FileSystemObject")\\nset f=fs.CreateTextFile("c:test.txt")\\nf.write("Hello World!")\\nf.close\\n\\nset t=fs.OpenTextFile("c:test.txt",1,false)\\n\\ndo while t.AtEndOfLinetrue\\n x=t.Read(1)\\nloop\\n\\nt.close\\n\\nResponse.Write("The last character is: " & x)\\n%>\\n Output:
\\n\\n
\\n The last character of the first line in the text file is: !\\n
\\n \\n
\\n ASP FileSystem Objects\\n ASP Drive Objects\\n
\\n
YouTip