Function Entry: VLE-PUT-NTH
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLE-PUT-NTH
Name
vle-put-nth
Class
BricsCAD VLE Library Function
Syntax
(vle-put-nth lst idx val)
Arguments and Values
- ls' input list where the item at position
- 'idx' is to be
- set
- idx the
- 0-based index of the item to be set by new 'val'
- val the new
- value to be set for the item at index 'idx'
Description
sets / replaces the item at index 'idx' in list 'lst' with specified new value 'val'; if 'idx' is larger then the list length, the list is filled with NIL items before 'val'
Return Values
list 'lst' with item at position 'idx' set to 'val';
if 'idx' is < 0, the unchanged list is returned
if 'idx' is greater than the list length, the list is filled with NIL values before added item 'val'
Notes
index 'idx' is 0-based
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [vle-put-nth (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vleputnth.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).