View Full Version : End of file

01-13-2004, 01:12 PM
How to mark the end of a text file in JS?

Thank you

01-13-2004, 01:27 PM
JavaScript doesn't have I/O or file handling, so detection of EOF is not needed. However, servers may provide serverside JavaScript (or JScript in ASP) with custom host object doing it, and then the method depends on the host entirely. Same goes for MS Windows Scripting Host and it's host objects.