Function Entry: PROMPT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: PROMPT
Name
prompt
Class
Function
Syntax
(prompt message)
Arguments and Values
message: string; the message to display in the active output device(s).
Description
Sends message to the active output device(s). Bricsys explicitly recommends prompt over prin1 / princ / print for command-line output — prompt is the dedicated end-user message channel, while the printer functions are general-purpose.
Return Values
Always returns nil.
Side Effects
Writes the message to the active output channels.
Tested Behaviour (BricsCAD V26 / macOS, 2026-04-26)
(prompt "AUTOLISP-SPEC-PROMPT>") returns nil. The string was emitted to the BricsCAD command-line widget (visible to the user) but does not surface through file-handle capture, confirming the documented "active output device(s)" channel choice.
Availability
- AutoCAD 2026: documented (Autodesk reference page).
- BricsCAD V26: documented + product-tested on macOS (probe suite, 2026-04-26). Return value confirmed nil; output goes to the active command-line channel.
- Status: documented in both vendors and tested against BricsCAD V26 / macOS.
See Also
- probe-output.lsp — executable Phase-5 probe suite.
- probe results, BricsCAD V26 / macOS, 2026-04-26.
Source Notes
- [prompt (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-2F702ECF-FEC7-4DEE-8575-88CDEE05F55D.htm)
- [prompt (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/prompt.htm)
- Status: documented and product-tested (Phase 5 closure).