August 1999
Intermediate to advanced
1488 pages
72h 53m
English
textstream.AtEndOfLine
The AtEndOfLine property of the TextStream object returns true when the end of a line in a text line is found.
Listing 9.124 opens two files. The first file is for reading a string from, while the second file is written to—one character at a time—as the script iterates through. The result is that the first line of the file opened for reading is written to the second file. This file can be executed with the Windows Scripting Host (wscript.exe or cscript.exe).
// Create a FileSystemObject object var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject"); // Create ... |
Read now
Unlock full access