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.