Function Entry: WRITE-CHAR
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: WRITE-CHAR
Name
write-char
Class
Function
Syntax
(write-char char [file-desc])
Arguments and Values
char: character value or code under host character semanticsfile-desc: optional output file descriptor
Description
Writes one character to the command line or to an open file.
Return Values
Host-defined success value.
Side Effects
Produces output to the selected destination.
Compatibility
Character interpretation is version-sensitive in Unicode-capable environments.
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
- [About File Descriptors (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/CHT/AutoCAD-AutoLISP/files/GUID-EDADF856-4D64-4E19-A7BD-5017C4135A01.htm)
- [What's New or Changed with AutoLISP (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/CHS/AutoCAD-MAC-AutoLisp/files/GUID-037BF4D4-755E-4A5C-8136-80E85CCEDF3E.htm)
- Status: documented.