(print [expression [file-descriptor]])


Print, using formatted printing.


Examples

Code Prints Returns
(print "First pt: ") New line.
"First pt:Space."
"First pt:"
     
(print "\nCompany\005: ") New line. "\nCompany\005: "
  "\nCompany\005:Space."  

 

NOTE  The difference between the print function and LISP's other print-related functions (for example, prin1 and princ is that print automatically includes a new-line character before expression and adds a space after expression).

 

Tell me about...

(prompt string)

(terpri)

(write-line string [file-descriptor])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.