Tutorial-Web Home > The FileSystem Object > The TextStream Object

Object Menu

Drive
File
Folder
FileSystem
TextStream
AtEndOfLine
AtEndOfStream
Column
Line
Close
Read
ReadAll
ReadLine
Skip
SkipLine
Write
WriteLine
WriteBlankLines

 


 
AtEndOfLine
TypeMethod
Return Value TypeBoolean
Usageobject.AtEndofLine
DescriptionDetermines if the pointer is at the end of a line in a file.
ExampleCode:
Set fso = CreateObject("Scripting.FileSystemObject")
filename="c:\test\test.txt"
Set tso = fso.OpenTextFile(filename,1,false,0)
response.write tso.AtEndOfLine

Result:
True

The Bookworm
Search the Tutorial-Web library for books on any topic!
Sponsors

Search Now:
In Association with Amazon.com