dictsearch

(dictsearch dictionary item [next])

The dictsearch function searches an item of a dictionary.

Arguments

dictionary specifies a dictionary entity name being searched.

item is a string specifying the item to be searched for within the dictionary.

If next is passed to the function and not nil, the dictnext function is adjusted so the following dictnext call returns the entry after the one returned by this dictsearch call.

Return Value

The return value is a list of data of a dictionary item.

Examples

The following example illustrates the use of dictsearch to obtain the dictionary added in the dictadd example:

: (setq newdictlist (dictsearch (namedobjdict) "my_dictionary"))

Related Functions

dictadd, dictnext, dictremove, dictrename, namedobjdict