(print [expression [file-descriptor]])
Print, using formatted printing.
- This function prints the same way as prin1, with the exception of adding an new-line character before expression and a space after it. Like prin1, the print function treats control characters literally (does not activate them).
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).
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español