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