each-key ( ... quot: ( ... key -- ... ) -- ... )
GNU Database Manager
Prev:next-key ( key -- key/f )
Next:each-value ( ... quot: ( ... value -- ... ) -- ... )


Vocabulary
gdbm

Inputs and outputs
quota quotation


Word description
Applies the quotation to the each key in the database.

Definition
USING: kernel locals ;

IN: gdbm

:: each-key ( ... quot: ( ... key -- ... ) -- ... )
first-key* [ [ next-key* ] [ quot keep ] do while ] when
drop ; inline