Function Entry: VL-FILE-SIZE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VL-FILE-SIZE

Name

vl-file-size

Class

Visual LISP File Function

Syntax

(vl-file-size filename)

Arguments and Values

  • filename: pathname string

Description

Determines the size of a file in bytes.

Return Values

Integer or nil.

Autodesk documents:

  • nil if the file is not readable
  • 0 if filename names a directory or an empty file

Side Effects

None.

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.

Notes

  • Autodesk documents a Unicode/LISPSYS behavior change in AutoCAD 2021.