Extracted from Pike v7.3 release 45 at 2002-06-04.
pike.roxen.com
[Top]
Gdbm
Gdbm.gdbm

Method Gdbm.gdbm()->nextkey()


Method nextkey

string Gdbm.gdbm()->nextkey(string key)

Description

This returns the key in database that follows the key 'key' key. This is of course used to iterate over all keys in the database.

Example

// Write the contents of the database for(key=gdbm->firstkey(); k; k=gdbm->nextkey(k)) write(k+":"+gdbm->fetch(k)+"\n");