August 1999
Intermediate to advanced
1488 pages
72h 53m
English
write(string) write(num) write(expression)
The write function is a top-level function that is not associated with any object. This function writes information to the HTML page the script is generating to send back to the client. This function can take and write a string, numeric value, or an expression that returns an alphanumeric result. To write data to a file, see the entry for File.write() and File.writeln().
Tip
The JavaScript runtime buffers all write data until 64KB have been collected. Then the buffer is flushed to the file. You can manually call the top-level flush function to improve performance of your pages, if they are waiting on database query results, by calling the function before you run the ...
Read now
Unlock full access