Function Entry: VL-POSITION

โ† Prev | โ†‘ Chapter | Next โ†’ | Index | Symbols

Function Entry: VL-POSITION

Name

vl-position

Class

Visual LISP list function

Syntax

(vl-position item list)

Arguments and Values

  • item — any supported AutoLISP datum.
  • list — a true list.

Description

Returns the index of the specified list item.

Return Values

Returns a zero-based integer index if item occurs in list; otherwise returns nil.

Notes

  • Autodesk explicitly documents zero-based indexing.
  • The exact comparison predicate is not stated in the currently harvested source and therefore remains under-specified in this draft.

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.

See Also

  • BricsCAD analogue: position (chapter 24). Same role; different name.
  • Pair documented in vendor-inventory-2026.org ยง10 item 7.