PROPERTY:  Stream::EOS

Implemented in version 2.5

boolean = streamobject.EOS

The EOS property returns a Boolean value that indicates whether or not you are at the end of the stream. If True, you are at the end. If False, you are not at the end and additional bytes of data remain in the Stream beyond the current position.

You can determine your current position using the Position property and you can call the SetEOS method to designate the current position as the end of the stream.

Code (VBScript):
If (objStream.EOS = false) Then
   objStream.SetEOS = objStream.Position
End If

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information