Login | Sign Up
 





 
AutoLISP Function Detail
Name: print

Syntax:
(print [expr [filename]])

Description:
Displays the text string, expression, or variable value at the Command line or in the optional file.

Note: Causes a blank line to be printed before the value or string is displayed and also control characters are treated literally.

Example(s):
(print "\nHello World!")
"\nHello World!" "\nHello World!"

(setq op-file (open "test.txt" "w"))
(print "\nHello World!" op-file)
"\nHello World!"