EMA-XPS Online


GETF

GETF
====

syntax: (getf <place> <indicator> [<default>])

This function searches in the list <place> for the
element <indicator>. It returns the value, which
belongs to the element, when the indicator is found.
Otherwise <default> or NIL will be returned.

example:       >(setf pl '(a 1 b 2 c 3))
               (A 1 B 2 C 3)
               >(getf pl 'b)
               2
               >(getf pl 'x 'nothing)
               NOTHING


EMA-XPS Online