Login | Sign Up
 





 
AutoLISP Function Detail
Name: prin1

Syntax:
(prin1 [expr [filename]])

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

Note: Control characters are treated literally.

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

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