dictnext


(dictnext  dictEname  [ fromStart ] )

This function returns the next dictionary entry in dictEname dictionary, optionally from start if fromStart is non-NIL

Arguments

dictEname  the entity name (ENAME) of the dictionary

fromStart  (optionally) if non-NIL, the dictionary search re-starts from the beginning; defaults to NIL

Return

the next dictionary entry (or the first one, if fromStart is non-NIL), or NIL of there is no further dictionary entry

Example

(setq dict (namedobjdict))
(dictnext dict T)  returns first entry (or NIL)
(dictnext dict)  returns second entry (or NIL)

Remarks

allows to iterate through the dictionary
see (dictadd) (dictremovet) (dictrename)



©  Bricsys NV. All rights reserved.