Function Entry: WRITE-LINE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: WRITE-LINE
Name
write-line
Class
Function
Syntax
(write-line string [file-desc])
Arguments and Values
string: stringfile-desc: optional output file descriptor
Description
Writes a line of text to the command line or to an open file.
Return Values
Host-defined success value.
Side Effects
Produces line-oriented output and appends an end-of-line marker under host file semantics.
Compatibility
End-of-line representation is an external-file concern and may differ from the implementation host defaults.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [write-line (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/PLK/AutoCAD-LT-AutoLISP-Reference/files/GUID-CB4F3ABC-F0F6-41DA-A911-75B90D9F974A.htm)
- [About File Descriptors (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/CHT/AutoCAD-AutoLISP/files/GUID-EDADF856-4D64-4E19-A7BD-5017C4135A01.htm)
- Status: documented.