vlax-ldata-get


(vlax-ldata-get dictionary key [ defaultValue [ private ] ] )

This function returns the LISP data as stored in dictionary under key.

Arguments

dictionary  (vla-object | ename | string)  specifies the dictionary to retrieve the LISP data from
key  (string)  the dictionary key used to address the LISP data
defaultValue  (any Lisp value, optional)  default value to be returned if key does not exist in the dictionary
private  (T/NIL)  if specified as non-NIL, and called from "Separate Namespace" code, the data marked as "private" are retrieved

Return

value of key (if it exists in dictionary), or defaultValue (if specified) if the dictionary exists but key is missing

Example

(vlax-ldata-delete MyDicionary "Key_0" "?")  returns the LISP data, or "?" if key is missing

Remarks

key string is case-insensitive;
see (vlax-ldata-put) function



©  Bricsys NV. All rights reserved.