first-key* ( -- key ? )


Vocabulary
gdbm

Inputs and outputs
keyan object
?a boolean


Word description
Returns first key in the database. The boolean flag can decide between the case of an empty database and a case of a first value set to f.

Definition
USING: destructors gdbm.ffi gdbm.private ;

IN: gdbm

: first-key* ( -- key ? )
[ dbf gdbm_firstkey datum>object* ] with-destructors ;