print

AutoCad AutoLISP Functions

 
print
 
 
 

Prints an expression to the command line, or writes an expression to an open file

(print [expr [file-desc]])

This function is the same as prin1, except it prints a newline character before expr, and prints a space following expr.

Arguments

expr

A string or AutoLISP expression. Only the specified expr is printed; no newline or space is included.

file-desc

A file descriptor for a file opened for writing.

Return Values

The value of the evaluated expr. If called with no arguments, print returns a null symbol.

See Also