vlax-ldata-delete


(vlax-ldata-delete dictionary key [ private ] )

This function erases LISP data specified by key from dictionary.

Arguments

dictionary  (vla-object | ename | string)  specifies the dictionary to erase the data from
key  (string)  the dictionary key used to address the LISP data
private  (T/NIL)  if specified as non-NIL, and called from "Separate Namespace" code, the data marked as "private" are erased

Return

T if successfully erased, NIL otherwise (dictionary and/or they key not existing)

Example

(vlax-ldata-delete MyDicionary "Key_0")  returns T if "Key_0"

Remarks

key string is case-insensitive;
see (vlax-ldata-put) and (vlax-ldata-get) functions



©  Bricsys NV. All rights reserved.