write-line

(write-line string [file_descriptor])

The write-line function writes the specified string to the file specified by file_descriptor or displays it in the Command Window.

Return Value

The function returns string.

Examples

: (write-line "ABC")

"ABC"

: (setq fd (open "abc.txt" "w"))

<File: #4717:4624>

: (write-line "ABC" fd)

"ABC"