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().