If we are currently positioned at the end of the file (the getLength() and getPosition() method calls return an equivalent value), then this method returns the Boolean true value. Any other position within the file will return false.
A zero length file can only ever have a file pointer positioned at its end of file so it will always return true if the getLength() method returns zero.
Prev | Home | Next |
File.constructor | Up | File.error() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |