Function Entry: VLE-LIST-SUBTRACT

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

Function Entry: VLE-LIST-SUBTRACT

Name

vle-list-subtract

Class

BricsCAD VLE Library Function

Syntax

(vle-list-subtract lst1 lst2)

Arguments and Values

  • lst1 list "subtract" the items of 'lst2' from
  • lst2 list to
  • be "subtracted" from 'lst1'

Description

creates a list which contains all items of 'lst1' list without items of list 'lst2'

Return Values

a list containing all items of 'lst1' without items of 'lst2'

Examples

(vle-list-subtract '(1 2 3 4
5) '(7 3 6))  => '(1 2 4 5)

(vle-list-subtract '(1 2 3 4 5) '(7 8 9))
 => '(1 2 3 4 5)

(vle-list-subtract '(1 2 3 3 4) '(7 3 6))
 => '(1 2 4)

Availability

  • AutoCAD 2026: not documented.
  • BricsCAD V26: documented.
  • Status: BricsCAD-only.

Source Notes