Function Entry: READ-LINE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: READ-LINE
Name
read-line
Class
Function
Syntax
(read-line [file-desc])
Description
Reads one line of input. file-desc is optional: when supplied, the line is read from that open file; when omitted, input is taken from the keyboard buffer (standard input), mirroring read-char.
Return Values
Returns the line without the end-of-line marker, or nil at end of file.
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
- [read-line (AutoLISP)](https://help.autodesk.com/cloudhelp/2016/FRA/AutoCAD-MAC-Core/files/GUID-AC74D827-0969-4888-91C0-C3149DEC3659.htm)
- Status: documented.