(prompt string)
Print the message on the command line.
This function prints the string to the command line and the Prompt History window. The prompt function acts upon control characters.
Examples
Code | Returns |
---|---|
(prompt "56") | 56nil |
(prompt "This is text.\n") |
This is text. nil |
NOTE The difference between the prompt function and LISP's other print-related functions (for example, princ, print, and prin1) is that prompt only prints to the Prompt History window and not to a file.