write-line
 
 
 

Writes a string to the screen or to an open file

(write-line string [file-desc]) 

Arguments

string

A string.

file-desc

A file descriptor for an open file.

Return Values

The string, quoted in the normal manner. The quotes are omitted when writing to a file.

Examples

Open a new file:

Command: (setq f (open "c:\\my documents\\new.tst" "w"))

#<file "c:\\my documents\\new.tst">

Use write-line to write a line to the file:

Command: (write-line "To boldly go where nomad has gone before." f)

"To boldly go where nomad has gone before."

The line is not physically written until you close the file:

Command: (close f)

nil


500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.