This method is functionally very similar to the write() method. In this case however, an additional trailing newline character is added by the method automatically. You could append the newlines yourself and use the write() method instead.
Use this technique to write variable length records to a file.
See also: | File.flush(), File.write(), File.writeByte() |
Prev | Home | Next |
File.writeByte() | Up | file: URL |
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. |