Function Entry: VL-PRIN1-TO-STRING

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

Function Entry: VL-PRIN1-TO-STRING

Name

vl-prin1-to-string

Class

Visual LISP Function

Syntax

(vl-prin1-to-string obj)

Description

Returns a printed string representation of obj in a prin1-like style.

Return Values

String.

Side Effects

None.

Arguments and Values

  • obj: any AutoLISP value documented as printable by Autodesk, including numbers, strings, lists, entity names, T, and nil

Notes

  • Autodesk documents that the result is the same printed representation that prin1 would produce.
  • Autodesk examples show that strings are represented with surrounding quotes and necessary escape characters.

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.